test_sampler_adapted {pmwg}R Documentation

Test that the sampler has successfully adapted

Description

Test that the sampler has successfully adapted

Usage

test_sampler_adapted(pmwgs, n_unique, i)

Arguments

pmwgs

The full pmwgs object with all samples

n_unique

The number of unique samples to look for in random effects for each subject.

i

The number for the current iteration of the sampler

Value

A list containing a string representing successful/unsuccessful adaptation and an optional message. The string representing the success or failure can be one of c("success", "continue", "increase")


[Package pmwg version 0.2.7 Index]