plot_jk: Jackkniffe plot for variable contribution

View source: R/plot_jk.R

plot_jkR Documentation

Jackkniffe plot for variable contribution

Description

The jackknife figure shows the impact of each variable on the full model, providing detailed information about the function and significance of each variable. Light blue indicates the impact on the model if the variable is not included, while dark blue indicates the independent contribution of the variable to the model.

Usage

plot_jk(x, metric = "ROC_AUC", legend = TRUE,
        colors = c("cyan", "blue", "red"),
        xlab = NULL, main = NULL)

Arguments

x

list output from jackknife.

metric

(character) model metric to plot. Default = "ROC_AUC".

legend

(logical) whether to add legend. Default = TRUE.

colors

(character) vector of colors. Default = c("cyan", "blue", "red").

xlab

(character) a label for the x axis.

main

(character) main title for the plot.


enmpa documentation built on June 13, 2025, 1:10 a.m.