Function estimates coefficients based on generalized least squares.
glmEstimation(x, response, control = list(family = "gaussian"), ...)
Result is a list with coefficients, coefficient names and the model intercept.
Result is a list with coefficients, coefficient names and the model intercept.
An object of type DocumentTermMatrix
.
Response variable including the given gold standard.
(optional) A list of parameters defining the model as follows:
"family"Distribution for response variable. Default is family="gaussian"
.
For non-negative counts, use family="poisson"
. For binary variables
family="binomial"
. See glm
for further details.
Additional parameters passed to function for glm
.