Re: [R] farimaSim

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Wed 27 Jul 2005 - 02:51:11 EST

>>>>> "Hansi" == Hansi Weissensteiner <csae1552@uibk.ac.at> >>>>> on Tue, 26 Jul 2005 17:40:45 +0200 writes:

    Hansi> Hello!  I installed the fSeries package to get some
    Hansi> farima time-series which i tried with farimaSim, but
    Hansi> unfortunately i got always an error. I tried it this
    Hansi> way:

>> farimaSim(n = 1000, model = list(ar = 0.5, d = 0.3, ma =
>> 0.1), method="freq")

    Hansi> Error in farimaSim(n = 1000, model = list(ar = 0.5, d     Hansi> = 0.3, ma = 0.1), : ... used in an incorrect context

    Hansi> Some ideas?

Yes, the function farimaSim() is bogous, pretty obviously if you look at it.

I've wondered for a while if we (R developers) shouldn't improve "R CMD check" so as to require that every exported function in a package must have at least one running example. For the farimaSim(), there is no call possible without an error message.

Package 'fracdiff', though much older, has a working fracdiff.sim() function.

Martin Maechler, ETH Zurich



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 27 02:55:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:01 EST