Displaying 20 results from an estimated 1000 matches similar to: "Bug in "[.ts" for multivariate ts {Problem with plot.ts, "[" (PR#217)"
1999 Jul 02
1
Bug in "[.ts" for multivariate ts {Problem with plot.ts, "["} (PR#216)
>>>>> On Fri, 02 Jul 1999, Adrian Trapletti <Adrian.Trapletti@wu-wien.ac.at> said:
Adrian> There seems to be a problem with plot.ts (R Version 0.64.2)
> x<-cbind(1:10,2:11)
> x<-as.ts(x)
> plot(x)
Adrian> Error: subscript (20) out of bounds, should be at most 10
This is definitely a bug
--> CC: R-bugs
ALL NOTE : This is *not* new
2019 Dec 05
0
Maybe bug? Using non-integer frequencies in stats::ts
It's been three months without an answer, is it ok to thread bump?
Would someone provide a pointer?
Thank you for your consideration,
Johann
On Mon, 16 Sep 2019 at 15:53, Johann R. Kleinbub <johann.kleinbub at gmail.com>
wrote:
>
> I am developing a package to analyse physiological time-series and I
thought that the most reliable and robust solution was to base it on the
native
1997 Aug 25
0
R-alpha: ts problems
This message is in MIME format
--_=XFMail.1.1.p0.Linux:970825095458:252=_
Content-Type: text/plain; charset=us-ascii
Here is a patch which fixes some problems with time series functions.
Some examples of what goes wrong...
> x <- ts(rnorm(100),start=1,deltat=2)
> start(x)
Error in ts[1] : object is not subsettable
> end(x)
Error in ts[2] : object is not subsettable
> y <-
2019 Sep 16
2
Maybe bug? Using non-integer frequencies in stats::ts
I am developing a package to analyse physiological time-series and I
thought that the most reliable and robust solution was to base it on the
native stats::ts class. In my domain it is common to express series
frequencies as samples-per-second. So ts(..., frequency=10) would mean a
signal sampled 10 times every second, and ts(..., frequency = 1) a signal
sampled every second. Following this logic,
2019 Dec 06
0
Maybe bug? Using non-integer frequencies in stats::ts
Thank you for the quick follow up, Duncan.
Unfortunately extend=TRUE is called internally in various instances such as
when replacing parts of the time-series with window<-.ts
Consider the following examples of time series with ugly values:
x = 1:22
foo = ts(x, start = 1.5, end = 106.5, frequency = 0.2) # a ts of 525 cycles
bar = ts(x, start = 2.5, end = 107.5, frequency = 0.2) # a ts of 525
2019 Dec 05
2
Maybe bug? Using non-integer frequencies in stats::ts
On 05/12/2019 11:00 a.m., Johann R. Kleinbub wrote:
> It's been three months without an answer, is it ok to thread bump?
> Would someone provide a pointer?
I agree it's a bug, and agree with your analysis. You should report it
on bugs.r-project.org. (If you don't have an account there, let us
know, and either someone will give you one, or someone will report it
for you.)
2019 Dec 06
1
Maybe bug? Using non-integer frequencies in stats::ts
To R-devel:
I've sent this to Johann privately already; just in case anyone else is
interested in this issue, here's what I wrote:
Just started looking into it, and discovered this paragraph in ?ts:
"The value of argument frequency is used when the series is sampled an
integral number of times in each unit time interval. For example, one
could use a value of 7 for frequency when
2009 Feb 17
0
What's the predict procedure of ARIMA in R?
Hello,guys:
Recently, I am working on a seasonal ARIMA model. And I met some problem in the forecasting.
Now I just want to know that How does R perform the predict procedure(the predict formula, the initial setting of errors,etc.)?
I run the following commands and get the original code of the "predict" command, but I can't read it.
Can anybody explain it to me?
Thanks!
saji from
2013 Mar 22
0
predict.Arima error "'xreg' and 'newxreg' have different numbers of columns"
Hello all,
I use arima to fit the model with
fit <- arima(y, order = c(1,0,1), xreg = list.indep, include.mean = TRUE)
and would like to use predict() to forecast:
chn.forecast <- rep(0,times=num.record)
chn.forecast[1] <- y[1]
for (j in 2:num.record){
indep <- c(aa=chn.forecast[j-1], list.indep[j,2:num.indep]) # this is the newxreg in the
2006 Mar 26
2
Problem with names() in a plot after ordering a data.frame. Syntax or stupidity?
I am a complete newbie in R .
Using R 2.2.0 Windows XP
This started as a simple exercise to see if I could
produce a simple
Cleveland style dotchart with a line from the '2' axis
to the dot rather
than a continuous line as do "dotchart" and
"dotchart2". At least I could not
find that option.
I got a crude program to work but it includes
unnecessary steps.
2013 Apr 24
1
R Interactive Mode
Dear all,
We are doing some research about the time series analysis of NDVI, and
we found the NDVITS package which is a very great tool.
Unfortunately when we run it, after TimeSeriesAnalysis it asks to enter
"Village or Country".
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
2013 Apr 23
1
One more question please...
I executed the code in rstudio successfully:
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
2000 Aug 21
2
diff.default / diff.ts in wrong package bug (PR#640)
{all recent versions of R}
Problem / design bug :
diff.default() doesn't deal with "ts" objects properly,
diff.ts() does, but that is only available from package "ts"
where as the constructor function ts() is in base.
It's not sufficient to just move diff.ts() to package base,
since it relies itself on lag & lag.default which are also only in package
ts.
2013 Apr 23
0
One more question...
Thanks a lot Andrija...
I run the following in Rsutdio:
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
2013 Apr 23
0
Need a little help about this script...
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
shapedir=paste(system.file("extdata/shape",
2010 Apr 20
1
bug in aggregate.ts
Hi,
I am getting unexpected behaviour from aggregate.ts(). The 'ndeltat'
argument is effectively being reduced by 1 in some cases, even when it
is an integer, with the result that the blocks to be aggregated are
not of the expected size, and also that the end() of the aggregated
series is much later than the end() of the original series.
rawts <- ts(rep(1:10, each = 5), start = 1)
##
2006 Jul 13
1
ts and stl functions - still a problem
Hi
I am still having problems with using the stl function, when I read the csv file into R into a file called tkr and use dim(tkr) the result is 132 1 which is fine.
When coerce it into a trime series using ts either:
tstkr <- ts(t(tkr), deltat=1/12) or
tstkr <- ts(c(tkr), deltat=1/12)
and use the stl function I get the following error:
Error in
2006 Jul 12
1
ts and stl functions
Hi,
I have imported a csv file into R which contains one column (the rate er 100,000 population of a disease, by month over 11 years) I coerced into a time series using the following function,
tstkr<-ts(tkr,deltat=1/12)
This seems to work fine, and when I check for the class of the object using class(tstkr) I get "ts" as the response.
When I try to use the stl function in
2006 Jul 12
0
ts command and stl function
Hi,
I have imported a csv file into R which contains one column (the rate er
100,000 population of a disease, by month over 11 years) I coerced into
a time series using the following function,
tstkr<-ts(tkr,deltat=1/12)
This seems to work fine, and when I check for the class of the object
using class(tstkr) I get "ts" as the response.
When I try to use the stl function in stats
2011 Feb 16
2
leap years in temporal series command ts
Hi R community!
I'd like to create a temporal series with ts command for the interval
1st January 2002 - 31 December 2008. I have daily values, so this is a
2557 days temporal series. I'm using this command :
ts(observations, start=2002, end=2009, freq=365)
However, I don't get the correct temporal series since both frequency
(365 OR 366 for leap years) and deltat (1/365 OR