Re: [R] Trellis Conditional contourplot

2006-10-27 Thread Marco LO
Finally I got the unreasonable contour plotted. http://www.geocities.com/useebi/data/kdecontour.jpeg The codes to get the plot, cdplot2d(survived ~ age + sibsp, data = titanic3) are in http://www.geocities.com/useebi/data/cdplot2d.txt One step that I couldn't

Re: [R] Trellis Conditional contourplot

2006-10-27 Thread hadley wickham
Finally I got the unreasonable contour plotted. http://www.geocities.com/useebi/data/kdecontour.jpeg The codes to get the plot, cdplot2d(survived ~ age + sibsp, data = titanic3) are in http://www.geocities.com/useebi/data/cdplot2d.txt One step that I couldn't accomplish as in

Re: [R] Trellis Conditional contourplot

2006-10-25 Thread Marco LO
OK! # The R codes to generate the Trellis plot are from the R help archive by Karl Ove Hufthammer panel.estcontplot - function(x, y, ..., pretty=TRUE, region=FALSE) { cest.gr=kde2d(x, y) cest.gr.lat=con2tr(cest.gr) panel.contourplot(cest.gr.lat$x, cest.gr.lat$y, cest.gr.lat$z,

Re: [R] Trellis Conditional contourplot

2006-10-25 Thread Deepayan Sarkar
On 10/25/06, Marco LO [EMAIL PROTECTED] wrote: OK! # The R codes to generate the Trellis plot are from the R help archive by Karl Ove Hufthammer panel.estcontplot - function(x, y, ..., pretty=TRUE, region=FALSE) { cest.gr=kde2d(x, y) cest.gr.lat=con2tr(cest.gr)

[R] Trellis Conditional contourplot

2006-10-24 Thread Marco LO
Hello All, I've problems to interpret the contourplot for a binary response dependent variable. For example, I ploted the survived probability for the titanic3 dataset, http://www.geocities.com/useebi/data/CondenContour.jpeg Trellis displayed two panels of contour, one for

Re: [R] Trellis Conditional contourplot

2006-10-24 Thread Deepayan Sarkar
On 10/24/06, Marco LO [EMAIL PROTECTED] wrote: Hello All, I've problems to interpret the contourplot for a binary response dependent variable. For example, I ploted the survived probability for the titanic3 dataset, http://www.geocities.com/useebi/data/CondenContour.jpeg Trellis