-
Notifications
You must be signed in to change notification settings - Fork 0
/
CITATION
27 lines (24 loc) · 819 Bytes
/
CITATION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
year <- sub("-.*", "", meta$Date)
if(!length(year))
year <- substr(Sys.Date(),1,4)
vers <- meta$Version
if(is.null(vers))
vers <- packageVersion("forecast")
vers <- paste("R package version", vers)
citHeader("To cite the weird package in publications, please use:")
bibentry(bibtype = "Manual",
title = '{weird: Functions and Data Sets for "That\'s Weird: Anomaly Detection Using R" by Rob J Hyndman}',
author = c(as.person("Rob J Hyndman")),
year = year,
note = vers,
url = "https://pkg.robjhyndman.com/weird-package/"
)
bibentry(bibtype = "Book",
title = "That's Weird: Anomaly Detection Using {R}",
author = c(as.person("Rob J Hyndman")),
year = year,
note = "In preparation",
publisher = "OTexts",
address = "Melbourne, Australia",
url = "https://OTexts.com/weird/"
)