order_variables | R Documentation |
To be used in fit_mfp()
.
order_variables(xorder = "ascending", x = NULL, ...)
order_variables_by_significance(
xorder,
x,
y,
family,
weights,
offset,
strata,
method,
control,
nocenter
)
xorder |
a string determining the order of entry of the covariates
into the model-selection algorithm. The default is |
x |
a design matrix of dimension n * p where n is the number of observations and p the number of predictors including intercept for glms, or excluding intercept for Cox models. |
... |
passed to |
y |
a vector of responses for glms, or a |
family |
a character string naming a family function supported by
|
weights, offset |
parameters for both glm and Cox models, see either
|
strata, method, control, nocenter |
Cox model specific parameters, see
|
A vector of the variable names in x
, ordered according to xorder
.
order_variables_by_significance()
: Order by significance in regression model. The
number of columns of x
should be greater than 1 for Cox models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.