get_stability: Get stability from internal_validate or internal_boot object

View source: R/util.R

get_stabilityR Documentation

Get stability from internal_validate or internal_boot object

Description

Get stability from internal_validate or internal_boot object

Usage

get_stability(x)

Arguments

x

a internal_validate (see validate) or internal_boot (see boot_optimism) object. The former should have been created with method = "boot_optimism" or "boot_simple".

Value

a list containing the stability matrix (an n x B+1 matrix. Each column contains predictions for p observations. First column contains predictions from original model. Other columns are from bootstrap models) and the original binary outcome (y). Unsuccessful resamples are omitted.


pminternal documentation built on April 4, 2025, 3:30 a.m.