tinyErr {MSEtool} | R Documentation |
Remove observation, implementation, and process error
Description
Takes an existing OM object and converts it to one without any observation error, implementation error, very little process error, and/or gradients in life history parameters and catchability.
Usage
tinyErr(x, ...)
## S4 method for signature 'OM'
tinyErr(x, obs = TRUE, imp = TRUE, proc = TRUE, grad = TRUE, silent = FALSE)
Arguments
x |
An object of class |
... |
Arguments to generic function |
obs |
Logical. Remove observation error? |
imp |
Logical. Remove implementation error? |
proc |
Logical. Remove process error? All |
grad |
Logical. Remove gradients? All |
silent |
Logical. Display messages? |
Details
Useful for debugging and testing that MPs perform as expected under perfect conditions.
Value
An updated object of class OM
Examples
OM_noErr <- tinyErr(MSEtool::testOM)
[Package MSEtool version 3.7.1 Index]