Displaying 20 results from an estimated 10000 matches similar to: "[R] R: ts - objects (PR#228)"
1999 Jul 15
1
R: ts - objects
Hello,
I faced some difficulties using time series objects.
----------------------------------------------------------------------------
1. Why is the time data changed, when I, e.g., apply sqrt(arrts), but
not
when arrts^0.5 ?
This is my examples time series:
----------------------------------------------------------------------------
> arrts
Time Series:
Start = 3
End = 23
Frequency
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
2017 Sep 01
2
Precision error in time index of ts objects
I should have formulated my question in a more specific way.
1. I suspect this is a floating point precision issue. I am not very
knowledgeable about R internals, can someone else confirm it?
2. Should this be considered a bug or not, because it is "just a precision
issue"? Should I report it?
3. How can it happen? From a quick review of ts.R, it looks like the values
of the time
2017 Sep 02
1
Precision error in time index of ts objects
Thanks for the very detailed explanation.
I did not create the series using structure(), that was the result of
dump() on an intermediate object created within tsdisagg::ta(), which is
where I found the error in the first place. ta() indeed manipulates .Tsp
directly, rather than using ts. I guess this is a bug in tsdisagg then.
Thanks!
--
Andrea Altomani
On Sat, Sep 2, 2017 at 12:31 AM
2017 Sep 01
0
Precision error in time index of ts objects
On Fri, 1 Sep 2017, Andrea Altomani wrote:
> I should have formulated my question in a more specific way.
>
> 1. I suspect this is a floating point precision issue. I am not very
> knowledgeable about R internals, can someone else confirm it?
Yes. If you represent a series with increment 1/12 it depends on how you
do it. As a simple example consider the following two descriptions
1999 Jul 27
3
Preliminary version of ts package
There is now a preliminary version of a time series package in the R-devel
snapshots, and we would welcome feedback on it. It is based in part on the
packages bats (Martyn Plummer) and tseries (Adrian Trapletti) and in part
on code I had or have written. (Thanks for the contributions, Martyn and
Adrian!) Some of the existing ts code has been changed, for example to plot
multiple time series, so
2001 May 23
2
POLYGON: fill pattern instead of colors?
Hello all,
I'm using R1.2.2 and wonder whether there is already
a new (unofficial) version that supports fill patterns
for polygon().
thanks
M.E.
--
+-------------------------------------------------------
| Marcus Eger
+-------- ><> -------------------------------------------
| E-Mail: eger.m at gmx.de (NEW)
| marcus.eger at physik.uni-marburg.de (OLD)
| WWW:
2000 Nov 14
2
atlas for R1.1.1 and R1.2 different?
Dear R'ers,
when I e.g. install the integrate2.2-2 package under R1.1.1 (debian2.2)
atlas is linked into the library:
Installing package `integrate' ...
libs
gcc -shared -lc -shared -o
/usr/lib/R/library/integrate/libs/integrate.so adapt.o adapt_callback.o
bsrl.o flfm.o nxprt.o symrl.o wht.o -L/usr/local/lib -lf77blas -lcblas
-latlas -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.2
2000 Sep 29
2
segmentation faults when unused argument
Dear Rs,
quite often in I had segmentation faults of the following kind:
Error in brf.infobase(nn, Pc, knams = knams, plot = plot, dev = dev,
quiet = quiet, :
unused argument(s) (df ...)
Process R segmentation fault at Fri Sep 29 15:46:27 2000
This happened when I (wrongly) called a routine with an argument which
the routine
did not support.
platform i386-pc-linux-gnu
arch i386
2000 Sep 05
2
still problem with installation of locfit on DEC alphaev56-dec-osf4.0d
Dear all,
after building the R-1.1.1 from source on our alpha everything
seems to work, but locfit still hangs...
I installed locfit with install.packages(...),
the installation process went fine, but calling locfit() blocks the
R environment.
Has anybody got an idea howto get to the roots of this problem?
Thanks
M. Eger
--
+-------------------------------------------------------
| Marcus
1999 Jul 15
1
R: history buffer
Hello,
how can I change (enlarge) the history buffer? I use R.64.1
and ESS5.1, emacs.
Thanks -
Marcus Eger
--
+-------------------------------------------------------
| Marcus Eger
| Philipps Universitaet Marburg
| Fachbereich Physik AG Neurophysik
| Renthof 7
| 35032 Marburg
| Tel. +49 6421 284169
| Fax +49 6421 287034
+-------------------------------------------------------
| E-Mail:
2002 Jun 05
6
mixing different modes of lty line type specification in legend() ?
Hi List,
is sth. like the following possible:
legend(x,y,c("A","B","C"), lty=list(1,"42","11")) ?
Or: is there a possibility to define a solid line using the "string" mode for lty?
Thanks
Marcus
--
+-------- ><> -------------------------------------------
| E-Mail: eger.m at gmx.de (NEW)
| marcus.eger at
2000 Aug 31
3
using browser() in complex programs - where am I?
Dear all,
is there an easy way to know at which position in the source code
browser() (or stop()) was called? This seems to be important for me when
I try
to debug a program (e.g. using options(error=quote(dump.frames())))
traceback() returns some information, but I miss something like a line
number, e.g. "stopped at line 999 in foo.R".
Marcus
--
1999 Jul 15
2
R: UseMethod with primitives?
Hello,
is the following somehow possible with Mod() being a primitive:
"Mod" <- function(x)
UseMethod("Mod")
"Mod.default" <- function(x) {
.Primitive("Mod") ### I know it?s wrong. How can I access the
original Mod ?
}
Thanks for help
M. Eger
--
+-------------------------------------------------------
| Marcus Eger
| Philipps Universitaet
2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers,
somehow it is not possible to increase nsize to more than
20000k. When I specify e.g.
> R --vsize=10M --nsize=21000K
the result is:
free total (Mb)
Ncells 99658 350000 6.7
Vcells 1219173 1310720 10.0
Maybe I have overlooked s.th....
Marcus
--
+-------------------------------------------------------
| Marcus Eger
| E-Mail: eger.m at gmx.de (NEW)
|
2000 Aug 31
2
Problem with R INSTALL locfit on DEC alphaev56-dec-osf4.0d
Dear all,
usually I work under linux, but I tried to install R-1.1.1 on
our alpha's which worked well.
However, installation of the locfit package produced the following
warning:
---------%<----------------
Installing package `locfit' ...
libs
/vol/bin/gcc -I/vol/math/R/include -I/usr/local/include -mieee -g
-O2 -c S_e
nter.c -o S_enter.o
S_enter.c: In function `basis':
1998 Dec 17
1
Scoping bug!?
Hello - any suggestions?!
"fun" <- function (a1,a2,a3) {
...
x<-rnorm(50)
a<-locfit(~x)
...
}
does not work, (Error: Object "x" not found) but
x<<-as.matrix(mm[Pc+1])
instead, does!
When typing the two lines directly at the prompt - everything is ok.
I?m using R 63.0 on i586 with Linux, SUSE 5.2.
Thanks for any help -
Marcus
--
2000 Sep 02
1
poscrscript() call returns an error on alphaev56-dec-osf4.0
I have some slight problems getting R to run smoothly on our alpha...
What might be the reason for the following error message?
> postscript()
Error in PS(file, old$paper, old$family, old$bg, old$fg, old$width,
old$height, :
unable to start device PostScript
I have compiled R-1.1.1 and it starts without complaint.
--
+-------------------------------------------------------
|
2005 Jun 03
1
ts.intersect a multivariate and univariate ts
This seems like a FAQ, but I can't figure it out.
I have a mv ts object:
R > tsp(pg)
[1] 1982 2003 1
R > dim(pg)
[1] 22 12
and a univariate ts:
R > tsp(rw)
[1] 1690 1996 1
Yet, when I try to intersect them:
R > tsp(ts.intersect(rw, pg))
[1] 1982 2176 1
the process goes awry.
How to I get rw and pg to be one ts that runs from 1982 to 1996 and has 13
univariate time
1999 Jul 02
0
Bug in "[.ts" for multivariate ts {Problem with plot.ts, "[" (PR#217)
This message is in MIME format
--_=XFMail.1.3.p0.Linux:990702182137:16900=_
Content-Type: text/plain; charset=us-ascii
There was some discussion a while back on R-devel between Ross Ihaka,
Paul Gilbert and myself about row subsetting in time series. I think
the consensus was that "[.ts" should not try to coerce its result
back to a time series object (which is underlying the problem