rds.chain.boot.draws: Draw RDS bootstrap resamples

View source: R/rds_bootstrap.r

rds.chain.boot.drawsR Documentation

Draw RDS bootstrap resamples

Description

Draw bootstrap resamples for an RDS dataset, using the algorithm described in the supporting online material of Weir et al 2012 (see rds.boot.draw.chain() ).

Usage

rds.chain.boot.draws(chains, mm, dd, num.reps, keep.vars = NULL)

Arguments

chains

A list whose entries are the chains we want to resample

mm

The mixing model

dd

The degree distributions

num.reps

The number of bootstrap resamples we want

keep.vars

If not NULL, then the names of variables from the original dataset we want appended to each bootstrap resampled dataset (default is NULL)

Value

A list of length num.reps; each entry in the list has one bootstrap-resampled dataset


surveybootstrap documentation built on Jan. 9, 2023, 5:06 p.m.