Learn R Programming

pmwg (version 0.2.7)

extract_samples: Extract relevant samples from the list for conditional dist calc

Description

From the sampler, extract relevant samples for the creation of the proposal distribution.

Usage

extract_samples(sampler, stage = c("adapt", "sample"))

Value

A list containing only appropriate samples (non init/burnin samples)

Arguments

sampler

The pmwgs object containing the samples

stage

The stage, or list of stages from which you want the samples