[R] Using paste on results from tapply?

2013-02-14 Thread Nikola Janevski
f the "c()"? Note: I'm working with a very large data set 1-10 millions of points and I would rather not use for loops since the performance are really bad. Sincerely, Nikola [[alternative HTML version deleted]] __ R-help@r-projec

Re: [R] colour highlighting inputs and outputs in the R terminal?

2012-06-27 Thread nikola
that's an old thread but checkout the colorout package - it is awesome and it does exactly what you're asking for ! http://cran.r-project.org/web/packages/colorout/ -- View this message in context: http://r.789695.n4.nabble.com/colour-highlighting-inputs-and-outputs-in-the-R-terminal-tp1565865p4

Re: [R] Creating Matrix

2008-05-11 Thread nikola . markov
Here is how you can apply the mat function mentioned by Cassardi, x<-c(1, 2, 1, 3, 2) y<-c(3, 1, 2, 3, 5) mat<-matrix(c(x,y),5,2) ##the first parameter gives the data vector wich is filled columnwise in the matrix, then comes the row and column dimensions) colnames(mat)<-c("x","y") yo

[R] Logical test and look up table

2008-01-19 Thread Nikola MARKOV
of type 3 ...) so as to fill up automatically the $Type column. df() $Source$Type A23 A24 A9 A32 A25 A14 A10 A12 A11 A13 G Alternative solutions are also welcome. Thanks in advance P.S. I found a discussion mentioning match() and %in% but it does not seem adapted. -- Nikola Markov Inserm