prepare_storage: Prepare storage for results

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Prepare storage for results

Usage

1
prepare_storage(data, ndraws, num_subjects, nsim, burn_in, keep_burn_in)

Arguments

data

list of objects to make relevant storage

ndraws

scalar, number of mh iterations

num_subjects

scalar, number of subjects

nsim

scalar, number of importance samples

burn_in

scalar, number of draws to discard

keep_burn_in

logical, whether burn_in draws should be kept

Value

list for consumption by pmmh_single_chain


nickseedorff/pmmhLong documentation built on Dec. 31, 2020, 12:05 a.m.