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

View source: R/store.R

sample_storeR Documentation

Create a new list for storage samples in the pmwgs object

Description

Create a new list for storage samples in the pmwgs object

Usage

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

Arguments

par_names

The names of each parameter as a character vector

subject_ids

The unique ID of each subjects 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")

Value

A list containing the conditional mean and variances for this subject


pmwg documentation built on May 29, 2024, 12:09 p.m.