[R] Breaking up a Row in R (transpose)

Rui Barradas ruipbarradas at sapo.pt
Fri May 4 22:44:21 CEST 2012


Hello,


marc212 wrote
> 
> I am not opposed to for loops just do not know how to implement them.
> 
> 
> I am sorry for all the questions I am trying to learn.  The posted code
> does not work for me in my set I am getting a :
> Error in `dimnames<-.data.frame`(`*tmp*`, value = list(c("A1", "A1.1",  : 
>   invalid 'dimnames' given for data frame
> 
> Any help is much appreciated.
> 
> Thank you.
> 

Try commenting out the line dimnames <- list(... etc ...)
You could also use dput() to post an example of your data.
(Small example.)

Rui Barradas


--
View this message in context: http://r.789695.n4.nabble.com/Breaking-up-a-Row-in-R-transpose-tp4607658p4609748.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list