We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to make Runner returning a list of windows as follows:
1 2 3 4 5 5 6 7 8 9 9 10 11 12 13
This is the behaviour of rollapply as in the following example
rollapply
require(zoo) TS <- zoo(c(1:20)) rollapply(TS, width = 5, by = 4, FUN = print, align = "left")
I thought I could get the same results using the lag argument in runner
lag
runner
list1<-runner( x=c(1:20), k = 5, lag=4, simplify = F ) list2<-runner( x=c(1:20), k = 5, lag=-4, simplify = F )
What am I missing or is this feature not available?
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to make Runner returning a list of windows as follows:
1 2 3 4 5
5 6 7 8 9
9 10 11 12 13
This is the behaviour of
rollapply
as in the following exampleI thought I could get the same results using the
lag
argument inrunner
What am I missing or is this feature not available?
Thanks
The text was updated successfully, but these errors were encountered: