Re: [R] Plotting every probability curve

2012-09-12 Thread Greg Snow
Thanks for including an example that could be copied and pasted. However TkPredict and Predict.Plot both need at least one numeric (not factor) predictor. So I added another column called x that was just 1:5 to the sample data frame and included it in the model. Here are a couple of approaches us

[R] Plotting every probability curve

2012-09-11 Thread Abraham Mathew
I don't have a logistic regression model and am trying to generate probability curves for all possible combinations of the variables. My logit model has 5+ variables, and I want to draw curves for every scenario. See code below. When home_owner is 0 and 1, I want curves. The same goes for all othe