Learn R Programming

ordinalNet (version 2.12)

plot.ordinalNetTune: Plot method for "ordinalNetTune" object.

Description

Plots the average out-of-sample log-likelihood, misclassification rate, Brier score, or percentage of deviance explained for each lambda value in the solution path. The averae is taken over all cross validation folds.

Usage

# S3 method for ordinalNetTune
plot(x, type = c("loglik", "misclass", "brier", "devPct"), ...)

Arguments

x

An "ordinalNetTune" S3 object.

type

Which performance measure to plot. Either "loglik", "misclass", "brier", or "devPct".

...

Additional plot arguments.

See Also

ordinalNetTune

Examples

Run this code
# NOT RUN {
# See ordinalNetTune() documentation for examples.

# }

Run the code above in your browser using DataLab