burnin_after: Apply Burnin to MCMC Samples

Description Usage Arguments Value

View source: R/preferentialSampling.R

Description

This function truncates the first n.burn posterior samples of the output of the preferentialSampling function.

Usage

1
burnin_after(output, n.burn)

Arguments

output

List. Output of the preferentialSampling.

n.burn

Numeric. Number of samples to discard in burnin.

Value

List. Identical to the output of preferentialSampling but with truncated posterior samples.


brianconroy/preferential_surveillance documentation built on Nov. 23, 2021, 5:51 a.m.