[R] "labels" attached to variable names

Johan Lindbäck johan.lindback at ucr.uu.se
Thu Jan 6 16:59:03 CET 2005


Denis Chabot wrote:
> Hi,
> 
> Can we attach a more descriptive "label" (I may use the wrong  
> terminology, which would explain why I found nothing on the FAQ) to  
> variable names, and later have an easy way to switch to these labels in  
> plots? I fear this is not possible and one must enter this by hand as  
> ylab and xlab when making plots.
> 
> Thanks in advance,
> 
> Denis Chabot


Try

library(Hmisc)
?label

/Johan


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.




More information about the R-help mailing list