[R] glim in R?

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Mon Nov 15 19:04:05 CET 2004



Tim F Liao wrote:

> After some futile searches, I decided to ask the list to see 
> if any of the sages out there would have an answer:
> 
> I have a function I wrote a few years ago in S, which calls 
> glim numerous times.  I'd like to port it to R, but glm 
> works differently from glim, which takes as part of its 
> input an X design matrix.  I probably could write a function 
> to convert glim to glm, but hope this wouldn't be 
> necessary...
> 
> Tim Liao
> 

Would glm.fit do what you need? It has much less overhead than glm and 
takes a matrix as it's first argument.

--sundar




More information about the R-help mailing list