From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Naresh Gurbuxani
Sent: Wednesday, 29 April 2015 22:16
To: Brandstätter Christian
Cc: r-help@R-project.org
Subject: Re: [R] Help with lattice panel function
Thanks for your lightening fast response. This solution works.
Sent from my iPh
Thanks for your lightening fast response. This solution works.
Sent from my iPhone
> On Apr 29, 2015, at 7:27 AM, Brandstätter Christian
> wrote:
>
> This worked for me. It is btw. quite confusing to name your y-variable x.
> I think part of the problem arised from the date format.
>
> xyp
This worked for me. It is btw. quite confusing to name your y-variable x.
I think part of the problem arised from the date format.
xyplot(x + max.x ~ date, data = my.newdf, ylab = "x",
panel = function(x, y, x2, ...){
panel.xyplot(x, y, type = "l")
panel.loess(as.numeric(m
I want to plot multiple variables in xyplot, but plot loess trend for only one
of these variables. My problem is that the last command below does not give
the desired result.
Any help will be gratefully received.
Thanks,Naresh
my.df <- data.frame(date = as.numeric(as.Date("2015-01-01")) + 0:49,
4 matches
Mail list logo