When calling easy_glmnet, coefficients from the generate_coefficients output are processed by the process_coefficients function and generated into a plot. This plot tells us the direction, magnitude, and statistical significance of each coefficient. Be careful using this plotting method with datasets containing more than 20 variables as the plot may not render as nicely.

plot_coefficients_processed(coefficients_processed)

Arguments

coefficients_processed

A data.frame, the output of the function process_coefficients.

Value

A ggplot object. This plot may be rendered by outputting it to the command line or modified using ggplot semantics.

See also

Other plot: plot_model_performance_binomial_auc_score, plot_model_performance_gaussian_correlation_score, plot_model_performance_gaussian_mse_score, plot_model_performance_gaussian_r2_score, plot_model_performance_histogram, plot_predictions_binomial, plot_predictions_gaussian, plot_roc_curve, plot_variable_importances_processed