get_most_significant_variables: get_most_significant_variables

Description Usage Arguments Value

View source: R/util.R

Description

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

Usage

1
get_most_significant_variables(dataset, y, p_val = 0.05)

Arguments

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

Value

a vector containing the names of the covariates that have been kept


Skjemaa/GA documentation built on May 3, 2019, 6:42 p.m.