C <- cbind(A[, 1], B[, 2])

On 3/23/06, zhijie zhang <[EMAIL PROTECTED]> wrote:
> Dear friends,
>  i have two dataset: A and B
> A:
>  x  y
> 1  2
> 3  4
>
> B:
>  m  n
>  1   2
> 7   8
>
> How to generate datasetC:
> C:
>  x  n
>  1   2
> 3   8
>  i know sas can do it easily, what about R?
>
> --
> Kind Regards,
>
> ______________________________________________
> [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
>


--
HTH,
Jim Porzak
Loyalty Matrix Inc.
San Francisco, CA

______________________________________________
[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

Reply via email to