checkSample: Validate and resample bootstrap data

View source: R/stage-2-functions.R

checkSampleR Documentation

Validate and resample bootstrap data

Description

Validate and resample bootstrap data

Usage

checkSample(data.in, wt_in.v)

Arguments

data.in

Orignal data list

wt_in.v

Sampling weihgts (length N)

Value

Resampled data list with updated indices, plus indx.b, the original row numbers that were drawn (used to keep all copies of an observation in the same cross-fitting fold)


WMAP documentation built on Oct. 6, 2026, 1:07 a.m.