Displaying 1 result from an estimated 1 matches for "snpriskdata".
2008 Sep 16
1
logistf error message
I am new to using R.  Currently, I am using the logistf package to run logistic regression analysis.  When I run the following line of code:
 
attach(snpriskdata)
logisticpaper<-logistf(sascasecon~saspackyrs+newsbmi+EDUCATION+sasagedx+sasflung+condobst+sasadultasprev)
 
I get the following error message:
 
Error in sum(y) : invalid 'type' (character) of argument
 
What does this error message mean?  All of my variables are in numeric format.  Tha...