[R] help on xyplot and curves
Gabor Grothendieck
ggrothendieck at gmail.com
Mon Apr 23 15:38:20 CEST 2007
See:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/90294.html
On 4/23/07, Ronaldo Reis Junior <chrysopa at gmail.com> wrote:
> Hi,
>
> I need to add some different curves to a each panel in a xyplot. I have a old
> function to make this using panel.number, like this:
>
> panel=function(x,y,panel.number,...){
> panel.xyplot(x,y,...)
> if(panel.number==1){
> panel.curve(-655.8689+769.1589*log(5)+64.7981*log(x)-206.4475*log(5)^2)
> }
> if(panel.number==2){
> panel.curve(-655.8689+769.1589*log(6)+64.7981*log(x)-206.4475*log(6)^2)
> }
> }
>
> Bu now the panel.number don't work anymore. I try to find the new substitute
> but without success.
>
> Thanks
> Ronaldo
> --
> > Prof. Ronaldo Reis Júnior
> | .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva
> | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
> | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
> | `- Fone: (38) 3229-8190 | ronaldo.reis at unimontes.br | chrysopa at gmail.com
> | ICQ#: 5692561 | LinuxUser#: 205366
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list