shift | R Documentation |
shift an object x in a direction/expansion
shift(x, offset, expand = 0, fill = c("zero", "edge", "loop", "mean"))
x |
data object to process |
offset |
2 integers to offset a dataset |
expand |
2 integer list to expand the dataset |
fill |
method to run on the shift |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.