Dear list members
I would like to apply a vector of labels 
v=c("lab1","lab2","lab3")
to a dataframe
df=data.frame(1:3,1:3,1:3)
using some kind of loop or apply function.
Any ideas?
Thanks
 

Steve Powell



Checked by AVG Free Edition. 

17:03
 

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

Reply via email to