Description Usage Arguments Details Value Examples
This function is basically a wrapper for function
glm2
of package glm2
. When a regressor is found to
have only one value (thus producing the 'contrasts error' – see e.g.
stackoverflow).
When there more than one regressor with only one value in the data set, an error is returned prompting for manual check. When only one regressor is found to have one value, the model is again fitted dropping the intercept.
1 |
formula |
an object of class |
data |
an optional data frame, list or environment (or object coercible
by |
... |
extra arguments to be used to form the default control argument. |
A typical predictor has the form response ~ terms where response is the (numeric) response vector and terms is a series of terms which specifies a linear predictor for response. The response can also be specified as a factor or as a two-column matrix with the columns giving the numbers of successes and failures. A terms specification of the form first + second indicates all the terms in first together with all the terms in second with any duplicates removed.
A specification of the form first:second indicates the set of terms obtained by taking the interactions of all terms in first with all terms in second. The specification first*second indicates the cross of first and second. This is the same as first + second + first:second.
The value returned by robustlogrm
has exactly the same
documentation as the value returned by glm, except for:
method
, the name of the fitter function used, which by default is
glm.fit2
.
1 2 3 4 5 | ## Not run:
ExcelName <- 'T:/E30163/E30163.NombresVariables_V1.xlsx'
ValidateXLS(ExcelName)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.