[R] Trellis Conditional contourplot

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Oct 24 20:11:09 CEST 2006


On 10/24/06, Marco LO <useebi at yahoo.com.hk> 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 displayed two panels of contour, one for dead and one for alive.  However,
> the contours between the two panels didn't conform to the rule of prob(dead) =
> 1 - prob(alive).  How I should read the contours?  What I did wrongly?

Hard to say, since we have no idea what you actually did. As the
footer of every r-help message says:

PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

-Deepayan

> Is there an example that I could follow?
>
>   Thanks!
>   marco



More information about the R-help mailing list