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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to