Hello,

I read the help as well as the examples, but I can not figure out why the following code does not produce the *given* row names, "x" and "y":

x <- 1:20
y <- 21:40
rbind(
  x=cbind(N=length(x), M=mean(x), SD=sd(x)),
  y=cbind(N=length(y), M=mean(y), SD=sd(y))
)

Could you please help?

Thank you

Sören

______________________________________________
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