Learn R Programming

pminternal (version 0.1.0)

get_stability: Get stability from internal_validate or internal_boot object

Description

Get stability from internal_validate or internal_boot object

Usage

get_stability(x)

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.

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".