On 2010-12-13 03:13, Francesco Nutini wrote:
> From: fe...@nfrac.org
[...snip...]
>
> xyplot(y1 + y2 ~ x | sites, DF, type = "b")
Great Felix! this is what I was looking for!
But if y1 and y2 have a different scales? Can I plot, for example y2, on
secondary axis?
There are probably go
> From: fe...@nfrac.org
> Date: Sun, 12 Dec 2010 11:47:55 +1100
> Subject: Re: [R] overlap different line in a xyplot (lattice)
> To: ehl...@ucalgary.ca
> CC: nutini.france...@gmail.com; r-help@r-project.org
>
> On 12 December 2010 00:08, Peter Ehlers wrote:
> > On
On 2010-12-11 16:47, Felix Andrews wrote:
On 12 December 2010 00:08, Peter Ehlers wrote:
[...snip...]
The idea is the same: you need to get your data
into "long" format with a grouping variable and
then use the 'groups' argument to xyplot.
Here's fake data frame (you should have provided one
On 12 December 2010 00:08, Peter Ehlers wrote:
> On 2010-12-11 03:12, Francesco Nutini wrote:
>>
>> mmmh, yes this method works...
>> but I have to overlap this two graphs:
>>
>>> xyplot(a ~b |sites, data=dataset, col="red")
>>
>>> xyplot(c ~b |sites, data=dataset, col="blue")
>>
>>
>> a, b and
On 2010-12-11 03:12, Francesco Nutini wrote:
mmmh, yes this method works...
but I have to overlap this two graphs:
xyplot(a ~b |sites, data=dataset, col="red")
xyplot(c ~b |sites, data=dataset, col="blue")
a, b and c are columns in the same dataset. "Sites" is also a column in
the datas
5 matches
Mail list logo