| glm.train | R Documentation | 
Donwscaling with generalized linear models (GLM) with the base function glm.
glm.train(x, y, fitting = NULL, model.verbose = TRUE, stepwise.arg = NULL, ...)
x | 
 The grid data. Class: matrix.  | 
y | 
 The observations data. Class: matrix.  | 
fitting | 
 A string indicating the types of objective functions and how to fit the linear model.  | 
model.verbose | 
 A logic value. Indicates wether the information concerning the model infered is limited to the essential information (model.verbose = FALSE) or a more detailed information (model.verbose = TRUE, DEFAULT). This is recommended when you want to save memory. Only operates for GLM. or binomial families.  | 
stepwise.arg | 
 A list contatining two parameters: steps and direction. When performing a stepwise search
we can limit the search by indicating a maximum number of variables to be included in the model (parameter   | 
... | 
 Optional parameters. See the parameter fitting for more information. 
 There are two things to consider. 1) If family = "binomial" then type = "response" when predicting values. 2) Except for fitting = "MP", for the rest of the fitting options, the parameter singlesite must be TRUE, unless we want a gLASSO which in this case singlesite must be FALSE.  | 
This function is internal and should not be used by the user. The user should use downscaleTrain or downscaleCV.
The GLM model as returned from glm plus a list with information concerning the experiment.
J. Bano-Medina
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.