Hello,

Use "zoo" instead.

Regards,
Pascal


2013/8/28 Sudheer Joseph <sjo.in...@gmail.com>

> Also, if that was the case, in below specification it should take the
> timeseries properly which so not takesplace.
> > 1825/365
> [1] 5
> > ts(ru, start = c(2003, 1, 1), end = c(2007, 12, 30), frequency = 365)
>
>
> On Wed, Aug 28, 2013 at 4:57 AM, Sudheer Joseph <sjo.in...@gmail.com>
> wrote:
>
> > Hi Jim,
> >                     This won't work as R so not allow frequency which is
> a
> > fraction. It accept only whole number frequencies. Do you have any
> example
> > where it allows to put fraction as freqency
> >
> > > ts(ru, start = c(2003, 1, 1), end = c(2008, 1, 1), frequency = 365.33)
> > Error in ts(ru, start = c(2003, 1, 1), end = c(2008, 1, 1), frequency =
> > 365.33) :
> >   invalid time series parameters specified
> >
> >
> >
> > On Mon, Aug 26, 2013 at 5:03 PM, Jim Lemon <j...@bitwrit.com.au> wrote:
> >
> >> On 08/26/2013 12:35 PM, Sudheer Joseph wrote:
> >>
> >>> Hi,
> >>>              I am trying to load a daily time series as a r time series
> >>> object in the script at below link  using the data at second link. I
> >>> tried
> >>> setting the frequency as 365, but the data is not getting loaded with
> >>> correct number of samples which is 2192. Can any one help me on this
> how
> >>> to
> >>> set this time series as a daily time series properly?
> >>>
> >>
> >> Hi Sudheer,
> >> This is probably due to the sad fact that there are not 365 days in a
> >> year. If you try a frequency of 365.3333 it may make your life a bit
> easier.
> >>
> >> Jim
> >>
> >>
> >
> >
> > --
> > with best regards
> >
> > Sudheer
> >
> >
> >
> **********************************************************************************
> > Dr. Sudheer Joseph
> >
> > Scientist
> >
> > INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS)
> > MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA
> > "OCEAN VALLEY" PRAGATHI NAGAR (BO)
> > OPP.JNTU, NIZAMPET SO
> > Andhra Pradesh, India. PIN- 500 090.
> > TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
> > Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
> > E-mail: sudheer.jos...@yahoo.com;  s...@incois.gov.in.
> > Web- http://oppamthadathil.tripod.com
> >            --------------* ---------------
> > "The ultimate measure of a man is
> > not where he stands in moments of
> > comfort and convenience, but where
> > he stands at times of challenge and
> > controversy."
> >                         Martin Luther King, Jr.
> > "What we have done for ourselves alone dies with us.
> > What we have done for others and the world remains and is immortal."
> > - Albert Pines
> >
>
>
>
> --
> with best regards
>
> Sudheer
>
>
> **********************************************************************************
> Dr. Sudheer Joseph
>
> Scientist
>
> INDIAN NATIONAL CENTRE FOR OCEAN INFORMATION SERVICES (INCOIS)
> MINISTRY OF EARTH SCIENCES, GOVERNMENT OF INDIA
> "OCEAN VALLEY" PRAGATHI NAGAR (BO)
> OPP.JNTU, NIZAMPET SO
> Andhra Pradesh, India. PIN- 500 090.
> TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
> Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
> E-mail: sudheer.jos...@yahoo.com;  s...@incois.gov.in.
> Web- http://oppamthadathil.tripod.com
>            --------------* ---------------
> "The ultimate measure of a man is
> not where he stands in moments of
> comfort and convenience, but where
> he stands at times of challenge and
> controversy."
>                         Martin Luther King, Jr.
> "What we have done for ourselves alone dies with us.
> What we have done for others and the world remains and is immortal."
> - Albert Pines
>
>         [[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.
>

        [[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.

Reply via email to