search for: tobiasbr

Displaying 8 results from an estimated 8 matches for "tobiasbr".

Did you mean: tobias
2006 Jul 03
1
rownames, colnames, and date and time
...uld agree with Eric that a consistent use of the typecast would be a reasonable solution. Any comments? Tobias Brandt Quantitative Analyst Taquanta Asset Managers Nedbank Clock Tower Victoria & Alfred Waterfront, Cape Town 8001 Tel : +27 (0) 21 416 6602 Fax : +27 (0) 21 416 9945 Email : TobiasBr@Taquanta.com <mailto:TobiasBr@Taquanta.com> >-----Original Message----- >From: r-help-bounces@stat.math.ethz.ch >[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Erich Neuwirth >Sent: 21 March 2006 01:31 PM >To: R-help@stat.math.ethz.ch >Cc: Christian Prinoth >...
2005 Oct 27
1
data.frame-question]
...major 2 minor 2.0 year 2005 month 10 day 06 svn rev 35749 language R -----Original Message----- From: Michael Graber [mailto:michael_graber@gmx.de] Sent: 27 October 2005 12:43 AM To: TobiasBr@Taquanta.com Subject: Re: Re: [R] data.frame-question] This is what I am looking for, but I still get an error message, that my arguments are not of the same length. How can I avoid this error message? Maybe I should add, that there are also NA´s in the second column, but I tried to ignore them by...
2005 Nov 14
2
Coercion of percentages by as.numeric
Hi Given that things like the following work > a <- c("-.1"," 2.7 ","B") > a [1] "-.1" " 2.7 " "B" > as.numeric(a) [1] -0.1 2.7 NA Warning message: NAs introduced by coercion > I naively expected that the following would behave differently. > b <- c('10%', '-20%', '30.0%',
2005 Nov 14
2
[<- and indexing for zoo objects
Hi I've been greatly enjoying the functionality the zoo package offers. However I've hit a snag with the following code > a <- zoo(matrix(1:10,5,2), 2001:2005) > a 2001 1 6 2002 2 7 2003 3 8 2004 4 9 2005 5 10 > a[I(2003), 2] 2003 8 > a[I(2003), 2] <- NA Error: subscript out of bounds > I've also tried > coredata(a[I(2003), 2])
2006 Apr 07
1
rownames for as.matrix.zoo
On Fri, 7 Apr 2006 16:09:53 +0200 Brandt, T. (Tobias) wrote: > Hi > > Is there a reason why as.matrix.zoo doesn't set the rownames to the > index like as.data.frame.zoo does? Yes, oversight, I think ;-) Added to the devel-version of zoo. I'll try to get it out to CRAN in the next days. Z > Thanks > > Tobias > > > > library(zoo) > > x.Date
2006 Oct 26
2
pairs matchning
Hi You could try to find an equivalent representation as a string and try to match those. > (A <- cbind(sample(1:2, 10, rep=TRUE), sample(1:2, 10, rep=TRUE))) [,1] [,2] [1,] 1 2 [2,] 1 2 [3,] 1 2 [4,] 2 2 [5,] 1 1 [6,] 1 2 [7,] 1 2 [8,] 1 1 [9,] 1 2 [10,] 1 1 > (B <- unique(A)) [,1] [,2] [1,] 1 2
2007 Jan 15
2
Problem with pdf, png, jpeg devices and files named CON on Window s
Hi I cannot seem to create any files that have the name "CON" before the file extension, i.e. all of the following fail: > pdf("CON.pdf") Error in pdf("CON.pdf") : unable to start device pdf > jpeg('CON.jpeg') Error in jpeg("CON.jpeg") : unable to start device devWindows > png('CON.png') Error in png("CON.png") : unable
2006 Oct 26
1
Up- or downsampling time series in R
Hi I have data that is sampled (in time) with a certain frequency and I would like to express this time series as a time series of a higher (or lower) frequency with the newly added time points being filled in with NA, 0, or perhaps interpolated. My data might be regularly or irregularly spaced. For example, I might have quarterly data that I would like to handle as a monthly time series with