Re: [R] Overlaying lattice plots

From: Hillary, Richard M <>
Date: Tue 20 Dec 2005 - 21:31:58 EST

Excellent, thanks man!

-----Original Message-----
From: ernesto [] Sent: 20 December 2005 10:32
To: Hillary, Richard M; Iago Mosqueira; Mailing List R; R-devel Subject: Re: Overlaying lattice plots

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
> 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.



ps: I'm cc'ing this to the mailing lists, I find it usefull for others. mailing list PLEASE do read the posting guide! Received on Tue Dec 20 21:49:54 2005

This archive was generated by hypermail 2.1.8 : Tue 20 Dec 2005 - 23:50:02 EST