fast_glm: Wrapper for faster Generalized Linear Models

Description Usage Arguments Value

View source: R/glm_fast.R

Description

A convenience utility to fit regression models more quickly in the main internal functions for estimation, which usually require logistic regression. Use of speedglm appears to provide roughly an order of magnitude improvement in speed when compared to glm in custom benchmarks.

Usage

1
fast_glm(reg_form, data, family, ...)

Arguments

reg_form

Object of class formula indicating the regression to be fit.

data

Object of class data.frame containing the data.

family

Object of class family from package stats indicating the error distribution. Appropriate options are limited to gaussian and binomial.

...

Additional arguments passed to glm or speedglm.

Value

Object of class glm or speedglm.


survtmle documentation built on May 2, 2019, 9:44 a.m.