Takes the coefficients returned by the generate_coefficients function and prepares the coefficients for plotting.

process_coefficients(coefficients, survival_rate_cutoff = 0.05)

Arguments

coefficients

A data.frame, the replicated coefficients.

survival_rate_cutoff

A numeric vector of length one; for easy_glmnet, specifies the minimal threshold (as a percentage) a coefficient must appear out of n_samples. Defaults to 0.05.

Value

A data.frame; the replicated coefficients processed for easy plotting.

See also

Other utils: correlation_test, process_variable_importances, reduce_cores, remove_variables