Re: [R] (no subject)

2013-09-19 Thread tony toca
> > #This for example will allow you to name your row and colums. > B <- matrix(rbind(Fert,M), nrow = nrow(rbind(Fert,M)), dimnames = > list(c("r1" , "r2", "r3"), c("c1", "c2", "c3"))) > B > > Richard > > &

[R] (no subject)

2013-09-19 Thread tony toca
Dear R sages, I used the function rbind to combine a matrix (M) and a vector (Fert) to get a new matrix (A). This was fine. The issue is however, that the new matrix A has as its row names the name of the vector Fert, even though I set teh new vector A to have dimnames=NULL. See short code below

[R] i would like to unsubscribe. How do i do this?

2012-10-03 Thread tony toca
[[alternative HTML version deleted]] __ 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,