[R] logistic regression

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Mar 14 18:43:22 CET 2003

Frank E Harrell Jr <fharrell at virginia.edu> writes:

> If you have no more than one continuous variable you can pre-process
> (outside of R) to collapse the data into frequency counts. I did not
> check to see if glm handles frequency case weights. The lrm function
> in the Design package
> (http://hesweb1.med.virginia.edu/biostat/s/Design.html) does.

glm can have a matrix (cbind(success,failure)) as response.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

More information about the R-help mailing list