champa.ts | R Documentation |
The file "/import/champagne_2001.txt" contains monthly total shipping of 75 cl bottles of Champagne wine, in the world. 2001-2010.
The series first is imported as a vector of numeric type with function scan
and then transformed into a ts
object. Is is then converted in 1,000 of bottles.
SRISE - DRAAF Champagne-Ardenne
data("champa.ts")
# The executed code is :
## Not run:
aa <- scan(system.file("/import/champagne_2001.txt", package = "caschrono"))
champa.ts <- ts(aa/1000, start = c(2001,1), frequency = 12)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.