From ernesto at ipimar.pt  Tue Dec 20 11:31:38 2005
From: ernesto at ipimar.pt (ernesto)
Date: Tue, 20 Dec 2005 10:31:38 +0000
Subject: [Rd] Overlaying lattice plots
In-Reply-To: <CAAD15FC4F69AC419F16028EBBCCC36F138EF0@icex1.ic.ac.uk>
References: <CAAD15FC4F69AC419F16028EBBCCC36F138EF0@icex1.ic.ac.uk>
Message-ID: <43A7DD8A.9050400@ipimar.pt>

Hillary, Richard M wrote:

> Morning chaps, I have a little question for your capable minds... Say
> I have an observed and predicted set of quants (in my case, length
> frequencies by year and age/length), is there a way to use lattice
> plots to plot the observed and predicted data together, panel by panel?
> Obrigado/gracias (thankyou in Galego is?...)
> Rich

Hi Richard,

If you want to plot both datasets on the same plot just make use of the
xyplot for FLQuants, something like

flqs <- FLQuants(list(pred=pred.quant, res=res.quant))
xyplot(data~age, data=flqs)

now tune it the way you want and change the formula to fit your needs.

Regards

EJ

ps: I'm cc'ing this to the mailing lists, I find it usefull for others.



[Rd] Overlaying lattice plots
ernesto