Description Usage Arguments Value
Used to get the most significant covariates by recursively eliminating the one with a p-value > p_val. This function can be used for the first generation in order to decrease the number of covariates that will be taken into account in the iterations
1 | get_most_significant_variables(dataset, y, p_val = 0.05)
|
dataset |
the dataframe containing the data |
y |
the response variable |
p_val |
the threshold p-value, a covariate is kept if its p-value is less than p_val |
a vector containing the names of the covariates that have been kept
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.