| plot.rfmstate_diag | R Documentation |
Visualizes genuine edge OOB concordance or patient-level cross-validated full-state Brier scores.
## S3 method for class 'rfmstate_diag'
plot(
x,
type = c("brier", "concordance"),
col = NULL,
main = NULL,
xlab = NULL,
ylab = NULL,
...
)
x |
An |
type |
Character, one of |
col |
One or more plot colors; recycled when necessary. |
main |
Title. |
xlab, ylab |
Axis labels. |
... |
Additional arguments. |
The input x object, returned invisibly. Called for its
side effect of producing a plot.
Concordance plots contain separate edge-level ranger OOB statistics, not
assembled full-state validation. Brier plots require an object produced by
diagnose(..., method = "cv") and inherit its censoring/support
limitations. No bias–variance plot is available.
d <- structure(list(
concordance = data.frame(transition = "A->B", c_index = 0.7),
brier = NULL
), class = "rfmstate_diag")
plot(d, type = "concordance", xlab = "Edge", ylab = "OOB C-index")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.