search for: colu

Displaying 4 results from an estimated 4 matches for "colu".

Did you mean: col
2010 Oct 08
6
Selección de observaciones
...ript) logical subscript too long ¿Entonces? > aa[aa[,1:2] == t(c(12,15)),] Error in aa[, 1:2] == t(c(12, 15)) : non-conformable arrays Puedo hacer, claro, > aa[aa[,1]==12 & aa[,2]==15,] [1] 12 15 18 Pero necesito algo más "elegante" ya que la selección es sobre bastantes más columnas. Gracias de antemano y un saludo. -- Ignacio Ramos Álvarez i.ramos.alvarez@gmail.com [[alternative HTML version deleted]]
2015 Feb 24
2
intercalar elementos de vectores
...letras > > vtmp <- as.data.frame(lapply(letters,function(x) { rep(x,each=50) })) > > names(vtmp) <- paste("col",LETTERS,sep="") > > head(vtmp) > colA colB colC colD colE colF colG colH colI colJ colK colL colM colN > colO colP colQ colR colS colT colU colV colW colX colY colZ > 1 a b c d e f g h i j k l m n > o p q r s t u v w x y z > 2 a b c d e f g h i j k l m n > o p q r s t u v w x y...
2015 Feb 24
2
intercalar elementos de vectores
...t;b" "a" "b" "a" "b" "a" "b" "a" "b" Saludos, Jorge.- 2015-02-24 23:49 GMT+11:00 Fernando Macedo <fermace en gmail.com>: > Buenas a todos. > Relato el problema: > > - tengo un archivo de 316 columnas por 562000 filas (aprox.). > - esas 316 columnas representan 158 sujetos, o sea dos columnas por cada > individuo conteniendo información que debe ser condensada en una sola. > > Lo que necesito es ir tomando las dos columnas de cada individuo e > intercalar los elementos de los...
2005 Nov 23
8
getting started, reading listing and saving data
Dear List I am new to R and to the list and will try best as I can be clear and concise. My apologies if anything I write contravenes the posting code on this list. I would also like to say I have run through most of the material on the R website before writing this email however, I am stuck. Here is what I want to do and what I have done 1. Read a comma seperated text file into R I have used