Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

[R] Name of data.frame as a text string?

Mark Knecht

2009-07-02

Replies: Find Java Web Hosting

Author LoginPost Reply
I've passed a data.frame as an input into a function which does some
plotting on a 4x4 matrix of certain parameters within in the
data.frame. I'd like to add a small header on top of each plot with
the name of the data.frame so that it's clear as I compare these 16
things where each on came from.

So far I haven't found the right way to get the name of the data.frame
as a string which I can use in something like mtext. Is there one? If
I put dummy text in, or take the time to pass in the name by hand,
then I do get titles just as I'd like, but I'd far rather let the name
of the data.frame speak for itself.

Thanks,
Mark

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.