Usage
## S3 method for class 'pomp':
probe(object, probes, params, nsim, seed = NULL, \dots)
## S3 method for class 'probed.pomp':
probe(object, probes, params, nsim, seed = NULL, \dots)
## S3 method for class 'pomp':
probe.match(object, start, est = character(0),
probes, weights,
nsim, seed = NULL,
method = c("subplex","Nelder-Mead","SANN","BFGS","sannbox"),
verbose = getOption("verbose"),
eval.only = FALSE, fail.value = NA, ...)
## S3 method for class 'probed.pomp':
probe.match(object, start, est = character(0),
probes, weights,
nsim, seed = NULL,
method = c("subplex","Nelder-Mead","SANN","BFGS","sannbox"),
verbose = getOption("verbose"),
eval.only = FALSE, fail.value = NA, ...)
## S3 method for class 'probe.matched.pomp':
probe.match(object, start, est,
probes, weights,
nsim, seed = NULL,
method = c("subplex","Nelder-Mead","SANN","BFGS","sannbox"),
verbose = getOption("verbose"),
eval.only = FALSE, fail.value, ...)Arguments
object
An object of class pomp.
probes
A single probe or a list of one or more probes.
A probe is simply a scalar- or vector-valued function of one argument that can be applied to the data array of a pomp.
A vector-valued probe must always return a vector of the same size.
params
optional named numeric vector of model parameters.
By default, params=coef(object).
nsim
The number of model simulations to be computed.
seed
optional; if non-NULL, the random number generator will be initialized with this seed for simulations.
See simulate-pomp. start
named numeric vector; the initial guess of parameters.
est
character vector; the names of parameters to be estimated.
weights
optional numeric vector of relative weights.
Must be of the same length as probes.
method
Optimization method.
Choices are subplex and any of the methods used by optim. verbose
logical; print diagnostic messages?
eval.only
logical; if TRUE, no optimization is attempted.
Instead, the probe-mismatch value is simply evaluated at the start parameters.
fail.value
optional scalar; if non-NA, this value is substituted for non-finite values of the objective function.
...
Additional arguments.
In the case of spec, these are currently ignored.
In the case of spec.match, these are passed to optim or subplex in the control list.