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