Skip to content

glim in R?

2 messages · Tim F Liao, Sundar Dorai-Raj

#
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
#
Tim F Liao wrote:

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

--sundar