Denis Chabot <chabotd <at> globetrotter.net> writes: : : 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.
See ?comment . e.g. x <- 1:10 comment(x) <- "My X" y <- x*x comment(y) <- "My Y" plot(x, y, xlab = comment(x), ylab = comment(y)) Another possibility is 'label' in package Hmisc. ______________________________________________ R-help@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