[R] create a vector

P Ehlers ehlers at math.ucalgary.ca
Thu May 18 13:07:22 CEST 2006


'An Introduction to R', section 2.6 couldn't really be any clearer.
You'll find the document on your computer.

Peter Ehlers

YIHSU CHEN wrote:
> Dear R users:
> 
> I have an elementary question:  how to creat a vector of [A1, A2, A3...... A300]?  I know c(1:300) would give 1, 2, 3, ...., 300 but not sure how to attch a A to each element.  
> 
> Thank you
> 
> Yihsu Chen
> The Johns Hopkins University
> 
> ______________________________________________
> 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




More information about the R-help mailing list