[R] plotting multiple variables

Duncan Mackay dulcalma at bigpond.com
Mon Oct 28 12:25:18 CET 2013


Hi Hansol,

If you know the lattice system 

library(lattice)
library(latticeExtra)

useOuterStrips(
xyplot(y ~ x|class, data = dat, ...)
)

See also ? combineLimits

Otherwise

mfrow(10,10)

and loop your data  to plot

This is about as far as I can go - I have the same comment as Jim

Regards

Duncan

Duncan Mackay
Department of Agronomy and Soil Science
University of New England
Armidale NSW 2351
Email: home: mackay at northnet.com.au

           

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Jim Lemon
Sent: Monday, 28 October 2013 16:25
To: Hansol Yu
Cc: r-help at r-project.org
Subject: Re: [R] plotting multiple variables

On 10/28/2013 04:53 PM, Hansol Yu wrote:
> When my data has 50 rows, 100 columns and class column. How can I plot 
> this data and show classes? Do I have to draw 100 lines?
>
Hi Hansol,
I doubt that anyone on the R help list really knows the answer to your
question unless your lecturer is one of us.

Jim

______________________________________________
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