Re: [R] posting for R-help on the predict function and categorical variables in R

2014-03-08 Thread Greg Snow
How predict works depends on the method written for that type of object. The zeroinfl function is not in any of the standard packages, so it must be in another package, but you did not tell us which. Since it is from a package other than the main ones, it may work similarly to the regular predict

[R] posting for R-help on the predict function and categorical variables in R

2014-03-07 Thread Roman, Sally (MRC)
Hi - I would like to post to the R-help mailing list. Here is my post: -This is more of a general question about how the predict function treats categorical variables and how to interpret the output from predict. I have a zeroinfl model to predict the number of animals encountered: b9<-zeroi