Learn R Programming

ggRandomForests (version 4.0.0)

plot.gg_tune_rhf: Plot a Random Hazard Forest tuning path

Description

Draws the saved evaluated metric at each tree size and highlights the upstream selected size. OOB risk paths show the criterion minimized by upstream tuning; OOB iAUC paths show the criterion it maximizes. An iAUC path includes a standard-error band only when finite supplied standard errors are available.

Usage

# S3 method for gg_tune_rhf
plot(x, se_band = TRUE, se_mult = 1, ...)

Value

A ggplot object.

Arguments

x

A gg_tune_rhf object from gg_tune_rhf().

se_band

Logical; draw an iAUC standard-error band when available.

se_mult

Positive finite multiplier for the standard-error band.

...

Additional arguments passed to the evaluated-point layer.

See Also

gg_tune_rhf().