summary.ithresh: Summarizing measures of threshold predictive performance

Description Usage Arguments Value See Also Examples

View source: R/ithresh_methods.R

Description

summary method for class "ithresh"

Usage

1
2
## S3 method for class 'ithresh'
summary(object, ...)

Arguments

object

an object of class "ithresh", a result of a call to ithresh.

...

Additional optional arguments. At present no optional arguments are used.

Value

Returns a numeric matrix with 5 columns and n_v rows, where n_v is an argument to ithresh that determines how many of the largest training thresholds are used a validation thresholds. The columns contain:

See Also

ithresh for threshold selection in the i.i.d. case based on leave-one-out cross-validation.

plot.ithresh for the S3 plot method for objects of class ithresh.

print.ithresh Prints the threshold weights.

Examples

1
2
3
u_vec_gom <- quantile(gom, probs = seq(0, 0.9, by = 0.05))
gom_cv <- ithresh(data = gom, u_vec = u_vec_gom, n_v = 3)
summary(gom_cv)

Example output

       v v quantile best u best u quantile index of u_vec
1 4.6070         80 3.1598              55             12
2 5.1302         85 3.1598              55             12
3 5.8246         90 3.3878              60             13

threshr documentation built on Jan. 13, 2021, 8:17 a.m.