Learn R Programming

redist (version 4.2.0)

subset_sampled: Subset to sampled or reference draws

Description

Subset to sampled or reference draws

Usage

subset_sampled(plans, matrix = TRUE)

subset_ref(plans, matrix = TRUE)

Value

a redist_plans object, with only rows corresponding to simulated (or reference) draws remaining.

Arguments

plans

the redist_plans object

matrix

if TRUE, the default, also subset the plans matrix. If the plans matrix is not needed, turning this off may save some time.