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.

Thanks for your response.
[image: Mailtrack]

Sender
notified by
Mailtrack

08/27/19,
06:46:12 PM

On Tue, Aug 27, 2019 at 6:29 PM Gabor Grothendieck 
wrote:

> 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,
> wild="Normal")$AutoBoot.test)
>
>
> On Tue, Aug 27, 2019 at 1:20 AM Subhamitra Patra
>  wrote:
> >
> > 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_medium=signature_campaign=signaturevirality5;
> >
> > Sender
> > notified by
> > Mailtrack
> > <
> https://mailtrack.io?utm_source=gmail_medium=signature_campaign=signaturevirality5;
> >
> > 08/27/19,
> > 10:48:23 AM
> >
> > [[alternative HTML version deleted]]
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
>
>
> --
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com
>


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

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


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,
wild="Normal")$AutoBoot.test)


On Tue, Aug 27, 2019 at 1:20 AM Subhamitra Patra
 wrote:
>
> 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]
> 
> Sender
> notified by
> Mailtrack
> 
> 08/27/19,
> 10:48:23 AM
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[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, 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]

Sender
notified by
Mailtrack

08/27/19,
10:48:23 AM

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.