[R] help on xyplot and curves
Ronaldo Reis Junior
chrysopa at gmail.com
Mon Apr 23 14:16:50 CEST 2007
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 em unimontes.br | chrysopa em gmail.com
| ICQ#: 5692561 | LinuxUser#: 205366
More information about the R-help
mailing list