Description
shift an object x in a direction/expansion
Usage
shift(x, offset, expand = 0, fill = c("zero", "edge", "loop", "mean"))
Arguments
- 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