[R] [r] Applying rollapply in VR test

Subhamitra Patra @ubh@m|tr@@p@tr@ @end|ng |rom gm@||@com
Tue Aug 27 07:19:27 CEST 2019


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, and unable to do that. Is there any
mistake in my code?

Please help me with this.

Thank you.

-- 
*Best Regards,*
*Subhamitra Patra*
*Phd. Research Scholar*
*Department of Humanities and Social Sciences*
*Indian Institute of Technology, Kharagpur*
*INDIA*

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
08/27/19,
10:48:23 AM

	[[alternative HTML version deleted]]



More information about the R-help mailing list