Function that fitGLS_opt optimizes over
fitGLS_opt_FUN(
op,
fp,
formula,
data = NULL,
coords,
covar_FUN = "covar_exp",
distm_FUN = "distm_scaled",
is.trans = FALSE,
backtrans = list(),
ncores = NA
)
fitGLS_opt_FUN
returns the negative log likelihood of a GLS,
given the parameters in op
and fp
a named vector of parameters to be optimized
a named vector of fixed parameters
GLS model formula
data source
a coordinate matrix
a covariance function
a distm function
logical: are any of the values in op
or fp
transformed, needing back-transformation?
optional: a named list of functions used to backtransform any element
of op
or fp
. Names must correspond to names in op
or fp
.
an optional integer indicating how many CPU threads to use for calculations.