powered by
Executes a linear model, automatically choosing binomial family as necessary.
model( x, y, family = if (all(y %in% 0:1, na.rm = TRUE)) "binomial" else "gaussian", ... )
glm
x values
y values
gaussian by default, or binomial for all y either zero or 1
passed to glm
Other regression functions: metastats(), region()
metastats()
region()