test_sampler_adapted: Test that the sampler has successfully adapted

View source: R/efficient.R

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


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