[R] graph help
Bryan Hanson
hanson at depauw.edu
Sat Jan 30 21:35:35 CET 2010
Robyn, I've found this page helpful in understand the details of the kinds
of plots you want to make:
http://research.stowers-institute.org/efg/R/Graphics/Basics/mar-oma/index.ht
m but in general, if your subplots are related to each other, you should
probably switch from base graphics to the lattice or ggplot2 graphics
systems, which handle groups of data related by some categorical variable
much better. Look at http://had.co.nz/ggplot2/ for some ideas of what's
possible, or
http://lmdvr.r-forge.r-project.org/figures/figures.html?chapter=01;figure=;t
heme=stdColor;code=right
Bryan
*************
Bryan Hanson
Acting Chair
Professor of Chemistry & Biochemistry
DePauw University, Greencastle IN USA
On 1/30/10 3:04 PM, "Rob Manley" <robmanley at gmail.com> wrote:
> Hello,
>
> I'm fairly new to R and having trouble displaying my data graphically to a
> publishable quality.
> I have a multivariate data-set (columns all the same length), 8
> environmental variables and 3 species diversity variables.
> I'm simply trying to display bivariate plots of the environmental variables
> against the species diversity variables (response variables).
> As there will be many graphs, I think it best to do it as par(mfrow =
> c(3,4)) - twice over. The way I'm doing it at the moment looks a bit messy.
> How do you reduce the space between graphs, delete the values that are
> automatically put on the axes, and put text on the graph (e.g. R and p
> values).
>
> I'd be very grateful for any help,
>
> Many thanks,
>
> Robyn
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list