Learn R Programming

pmwg (version 0.2.7)

test_sampler_adapted: Test that the sampler has successfully adapted

Description

Test that the sampler has successfully adapted

Usage

test_sampler_adapted(pmwgs, n_unique, i)

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")

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