> cbind(a[,1,drop=F],b[,1,drop=F]) x n 1 1 1 2 2 2
2006/3/24, linda.s <[EMAIL PROTECTED]>: > On 3/23/06, Jim Porzak <[EMAIL PROTECTED]> 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 > > ______________________________________________ > [email protected] 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
______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
