Dear Eric,
try something like
N <- 20
paste("Lab",1:N,sep="")
Regards,
Samuel.
Eric Rodriguez <[EMAIL PROTECTED]> wrote:
Hi,
I'm new to R and I would like to generate labels like data.frame does
: "V1 V2 V3...".
I'm trying to generate a N vector with label such as "Lab1 Lab2 ... LabN".
I guess this is pretty easy when you know R ;)
Thanks for help
Eric
______________________________________________
[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
---------------------------------
[[alternative HTML version deleted]]
______________________________________________
[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