You must supply an object whose class is such that a rollapply method exists. Try this to see what classes are supported:
methods(rollapply) On Fri, Jun 19, 2009 at 4:07 AM, Andriy Fetsun<fet...@googlemail.com> wrote: > Hi, > > I faced with problem when start using function - rollapply(returns, 3 , > mean) > > Error in UseMethod("rollapply") : > No suitable Method for "rollaply" > > How can I fix the problem? Thank you for help. > > -- > Best regards, > > Andy Fetsun > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > 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-help@r-project.org mailing list 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.