Re: [R] [r] Applying rollapply in VR test

2019-08-27 Thread Subhamitra Patra
Actually, after running this code, z object is creating which has no observation, means there are no outputs in the z object. When I am giving the command to plot or view z object, it is showing an error. I thought there is some error in the code, so I posted. Please help me regarding this.

Re: [R] [r] Applying rollapply in VR test

2019-08-27 Thread Gabor Grothendieck
If I run this (which is identical to your code except I supplied some random input since your post did not include any) I get no error: library(vrtest) library(zoo) set.seed(123) x <- rnorm(100) y <- zoo(x) z <- rollapply(y,50, function(x) AutoBoot.test(x,nboot=30,

[R] [r] Applying rollapply in VR test

2019-08-26 Thread Subhamitra Patra
Dear R users, I want to use rollapply function from the zoo package with the VR test by using the following code. library(vrtest) library(zoo) x <- Data y <- zoo(x) z <- rollapply(y,50, function(x) AutoBoot.test(x,nboot=30, wild="Normal")$AutoBoot.test) But, I am getting some error message,