Re: [R] how to combine data of several csv-files

2007-07-30 Thread niederlein-rstat
okay, I played a bit around and now I have some kind of testcase for you: v1 <- NA v2 <- rnorm(6) v3 <- rnorm(6) v4 <- rnorm(6) v5 <- rnorm(6) v6 <- rnorm(6) v7 <- rnorm(6) v8 <- rnorm(6) v8 <- NA list <- list(v1,v2,v3,v4,v5,v6,v7,v8) categ <- c(NA,"cat1","cat1","cat1","cat2","cat2","cat2",NA) >

[R] choose.dir

2007-05-02 Thread niederlein-rstat
Hi all, I have written a R-script under Windows using choose.dir. Now, I have seen that this function is missing at MacOS. Does anybody know an alternative? Antje - Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever. [[al

[R] sapply again return value

2007-02-16 Thread niederlein-rstat
Hello, I used an sapply to get some data back (s <- sapply(...) ). The output of s would then deliver something like this: B06_lamp.csv C06_lamp.csv D06_lamp.csv [1,] NULL NULL Numeric,512 [2,] NULL NULL Numeric,512 [3,] NULL NULL 2

Re: [R] tapply, levelinformation

2007-02-16 Thread niederlein-rstat
Hi Jim, jim holtman schrieb: > Here is one way: > > t <- split(mat, classes) > for (i in names(t)) plotdensity(t[[i]], main=i) > But then I don't use the advantages of the tapply anymore... > What is the problem you are trying to solve? I have a set of data (multiple files), which belong to

[R] mirror vector?

2006-07-28 Thread niederlein-rstat
Hello, I'm an absolut beginner with R and now I got a 2D vector with numbers. I would like to mirror this vector now by the rows (so that the first row becomes last, second becomes one before last, ...). I don't know if there is any method I can use to do this. Could you please help me? Antje