[R] cdplot error

2011-08-03 Thread wildernessness
Fairly new at this. Trying to create a conditional density plot. cdplot(status~harvd.l,data=phy) Error in cdplot.formula(status~harvd.l,data=phy): dependent variable should be a factor What does this error mean? Status is a binary response of infestation (0/1) and harvd.l is the log of timber

Re: [R] cdplot error

2011-08-03 Thread Allan Engelhardt (CYBAEA)
On 03/08/11 05:52, wildernessness wrote: Fairly new at this. Trying to create a conditional density plot. cdplot(status~harvd.l,data=phy) Error in cdplot.formula(status~harvd.l,data=phy): dependent variable should be a factor What does this error mean? Status is a binary response of

Re: [R] cdplot error

2011-08-03 Thread Peter Ehlers
On 2011-08-02 21:52, wildernessness wrote: Fairly new at this. Trying to create a conditional density plot. cdplot(status~harvd.l,data=phy) Error in cdplot.formula(status~harvd.l,data=phy): dependent variable should be a factor What does this error mean? Status is a binary response of

[R] cdplot????

2009-10-01 Thread kayj
I am having difficulties interpreting a cdplot, I have a binary variable y that I want to cdplot against a continuous variable x,below is the R command cdplot(y~x, data=mydata) you get a plot with a dark shaded area and a light shaded area. what do these areas mean? and how to interpret the

Re: [R] cdplot????

2009-10-01 Thread Achim Zeileis
On Thu, 1 Oct 2009, kayj wrote: I am having difficulties interpreting a cdplot, I have a binary variable y that I want to cdplot against a continuous variable x,below is the R command cdplot(y~x, data=mydata) you get a plot with a dark shaded area and a light shaded area. what do these areas