Description Usage Arguments Examples
View source: R/FUNCTION_shiftSeries.R
This function applies offsets to the series in a data frame.
1 | shiftSeries(X, offsets = NULL)
|
X |
a data frame with at least 2 numeric columns |
offsets |
vector with offsets for each column in X |
1 2 3 | iris.shifted <- shiftSeries(iris,
offsets = c(0,2,-1,0,0,0),
head(iris.shifted)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.