Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SL.speedglm

Wrapper for speedglm


Description

Speedglm is a fast version of glm()

Usage

SL.speedglm(Y, X, newX, family, obsWeights, maxit = 25, k = 2, ...)

Arguments

Y

Outcome variable

X

Training dataframe

newX

Test dataframe

family

Gaussian or binomial

obsWeights

Observation-level weights

maxit

Maximum number of iterations before stopping.

k

numeric, the penalty per parameter to be used; the default k = 2 is the classical AIC.

...

Any remaining arguments, not used.

References

Enea, M. A. R. C. O. (2013). Fitting linear models and generalized linear models with large data sets in R. Statistical Methods for the Analysis of Large Datasets: book of short papers, 411-414.

See Also


SuperLearner

Super Learner Prediction

v2.0-28
GPL-3
Authors
Eric Polley [aut, cre], Erin LeDell [aut], Chris Kennedy [aut], Sam Lendle [ctb], Mark van der Laan [aut, ths]
Initial release
2021-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.