Fill the respective "empty" spots in the vectors with NAs.  

Daniel


-------------------------
cuncta stricte discussurus
-------------------------

-----Ursprüngliche Nachricht-----
Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im
Auftrag von tke...@msn.com
Gesendet: Friday, October 02, 2009 6:13 PM
An: R help
Betreff: [R] how to fill out the empty spots when using rbind or cbind?


I have uneven vectors I want to use cbind or rbind to combine them into a
matrix. Is there a way to make it so that R would not return error msg
saying they're uneven? 
Thanks. 

Edward Chen
Email: tke...@msn.com
Cell Phone: 510-371-4717


                                          
        [[alternative HTML version deleted]]

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

______________________________________________
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