[R] adding a row of names to data.frame

David Winsemius dwinsemius at comcast.net
Tue Jul 6 15:06:16 CEST 2010

On Jul 6, 2010, at 8:00 AM, jamaas wrote:

> Thanks Pete,
> It works fine.  I should have explained, already had the data.frame  
> with
> data in it, just wanted to add a string vector into the first column  
> of the
> data.frame, could not figure out how to do that.

?cbind   # generic, has a data.frame method

> Jim
> -- 
> View this message in context: http://r.789695.n4.nabble.com/adding-a-row-of-names-to-data-frame-tp2278278p2279421.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> 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.

David Winsemius, MD
West Hartford, CT

More information about the R-help mailing list