[R] cbind
r.ookie
r.ookie at live.com
Sun Aug 22 03:08:39 CEST 2010
Thanks.
On Aug 21, 2010, at 4:01 PM, RICHARD M. HEIBERGER wrote:
cbind(A=x, B=y)
On Sat, Aug 21, 2010 at 6:53 PM, r.ookie <r.ookie at live.com> wrote:
Is there a way to rename the columns to something like A and B in the cbind function?
x <- rnorm(n = 10, mean = 0, sd = 1)
y <- rnorm(n = 10, mean = 0, sd = 1)
cbind(x,y)
______________________________________________
R-help at 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.
More information about the R-help
mailing list