Optimization and log-likelihoods for pairs of models.
Source:R/opt.and.logl.pairs.R
opt.joint.URW.Stasis.Rd
A collections of functions that serves the function fit.mode.shift. See fit.mode.shift for info.
Usage
opt.joint.URW.Stasis(
y,
gg,
cl = list(fnscale = -1),
pool = TRUE,
meth = "L-BFGS-B",
hess = FALSE
)
Arguments
- y
a paleoTS object.
- gg
numeric vector indicating membership of each sample in segments
- cl
control list to be passed to optim
- pool
logical indicating whether to pool variances across samples
- meth
optimization method, passed to function optim. Default is "L-BFGS-B".
- hess
logical, indicating whether to calculate standard errors from the Hessian matrix.