[R] Example scripts for trellis graphs
Deepayan Sarkar
deepayansarkar at yahoo.com
Thu Jan 31 19:47:58 CET 2002
I'm not entirely sure what you want, but you can try the following :
1. at the R prompt, with lattice loaded, try
example(xyplot)
to see output from the documented examples (this would also include other
functions). You can see the associated code at the bottom of the help page
brought up by help(xyplot). This is standard procedure for all documented
R examples.
[If you are having problems with this, try updating to the latest versions]
Similarly, demo(lattice) has some xyplot examples.
2. You can see the S-Plus examples by printing the example.* functions (i.e.,
call them without the parentheses). To run them, you would obviously need
the associated data sets (and possibly some modifications to the code).
3. You can get some examples in the documentation from Bell Labs' Trellis
pages,
in particular,
http://cm.bell-labs.com/cm/ms/departments/sia/project/trellis/display.writing.html
4. You can get the datasets and examples in Bill Cleveland's Visualizing Data
from his homepage
http://cm.bell-labs.com/cm/ms/departments/sia/wsc/
Hope that helps.
Deepayan
--- "Waichler, Scott R" <Scott.Waichler at pnl.gov> wrote:
> How can I access examples of trellis graphs in R? I'm especially
> interested in getting code for xyplot() examples.
>
> Failing a collection of examples in R, I see that
> under Splus there are numerous example.*() functions. I can
> access Splus with a command line but can't open a graphics window,
> so I can't to execute the example.*() functions. Is there a way
> I could get the associated script and data without generating the plot?
>
> Thanks,
> Scott Waichler
>
> Senior Research Scientist
> Hydrology Group/Environmental Technology Division
> Battelle Pacific Northwest National Laboratory
> (email) scott.waichler at pnl.gov
__________________________________________________
Great stuff seeking new owners in Yahoo! Auctions!
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list