[R] data management on R

ronggui ronggui.huang at gmail.com
Fri Mar 24 11:47:42 CET 2006


> cbind(a[,1,drop=F],b[,1,drop=F])
  x n
1 1 1
2 2 2


2006/3/24, linda.s <samrobertsmith at gmail.com>:
> On 3/23/06, Jim Porzak <jporzak at gmail.com> wrote:
> > C <- cbind(A[, 1], B[, 2])
> >
> >
> The result is:
>      [,1] [,2]
> [1,]    1    2
> [2,]    3    8
> How to keep x and n as the column title?
> Linda
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>


--
»ÆÈÙ¹ó
Deparment of Sociology
Fudan University




More information about the R-help mailing list