[R] how to predict with logistic model in package logistf ?

From: jinlong li <lee_poet_at_hotmail.com>
Date: Thu 27 Oct 2005 - 18:18:02 EST


dear community,

     I am a beginer in R , and can't predict with logistic model in package logistf,
could anyone help me ? thanks !

the following is my command and result :

>library(logistf)
>data(sex2)
>fit<-logistf(case ~ age+oc+vic+vicl+vis+dia, data=sex2)
>predict(fit,newdata=sex2)

   Error in predict(fit, newdata = sex2) : no applicable method for "predict"



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Oct 27 18:23:55 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:50 EST