sample_store: Create a new list for storage samples in the pmwgs object

Description Usage Arguments Value

View source: R/store.R

Description

Create a new list for storage samples in the pmwgs object

Usage

1
sample_store(par_names, subject_ids, iters = 1, stage = "init")

Arguments

par_names

The names of each parameter as a character vector

iters

The number of iterations to be pre-allocated

stage

The stage for which the samples will be created. Should be one of c("init", "burn", "adapt", "sample")

subjects_ids

The unique ID of each subjects as a character vector

Value

A list containing the conditional mean and variances for this subject


pmwg documentation built on Feb. 17, 2021, 9:07 a.m.