new_sample_err {pmwg}R Documentation

Error handler forany error in new_sample function call(s)

Description

If an error was detected when generating new samples. Save the state of the samples and particles at that moment to help with debugging.

Usage

new_sample_err(pmwgs, envir, err_cond)

Arguments

pmwgs

The pmwgs object for the current run.

envir

The environment of the function at this point in time.

err_cond

The original error condition that prompted this.


[Package pmwg version 0.2.7 Index]