particle_select_err: Error handler for the particle selection call

View source: R/messaging.R

particle_select_errR Documentation

Error handler for the particle selection call

Description

If an error was detected when selecting the winning particle, save the state of the samples and particles at that moment to help with debugging.

Usage

particle_select_err(subj, envir, err_cond)

Arguments

subj

The index of the subject where the error was detected.

envir

The enclosing environment of the function where the error occurred.

err_cond

The original error condition that prompted this.


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