On Wed, May 19, 2010 at 5:45 PM, Marius Hofert wrote:
> Dear R users,
>
> Is it possible to draw an xyplot (example below) without having to build a
> dataframe?
Yes, for example
x = 1:10
y = rnorm(10)
g = gl(2, 5)
xyplot(y ~ x | g)
But that is not really your question.
> For example: I have
Dear R users,
Is it possible to draw an xyplot (example below) without having to build a
dataframe?
For example: I have some data in matrix-form. Usually, the first column is the
x-value, the columns 2 and 3 are y-values. I would then like to plot 2 panels
where the first panel draws the second
2 matches
Mail list logo