Generic function for replacing the frequency of an object.
frequency(x) <- value
frequency<- is a generic function for replacing (or assigning)
the frequency of an object. Currently, there is a
"zoo" method. In both cases, the
value is assigned
"frequency" of the object if it complies with the
z <- zooreg(1:5) z as.ts(z) frequency(z) <- 3 z as.ts(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.