This function crates the lynx_1942
data by importing the observations from a local CSV file and returning them as as uts_vector
object. It is not meant to be called directly, but provided for reproducability.
1 |
1 2 3 4 5 6 7 8 9 | # Show the raw data
file.show(system.file(file.path("exdata", "lynx_1942.csv"), package="utsData"))
# Import and save the data
lynx_1942 <- import_lynx_1942()
## Not run:
save(lynx_1942, file=file.path("data", "lynx_1942.rda"), compress="xz")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.