Evaluate the fit of a certain set of model parameters (theta), and
get all relevant variables of the model.
daceObjfunc(theta, pars, what = "all")model parameters to be evaluated
model option list, as created with dacePrepareFit
a string: "all" both the likelihood (f) and the model list (fit) will be returned, "f" and "fit specify to return only those.
A list of two elements (which are NA if what is specified accordingly)
f likelihood
fit also a list list of model variables, with the following elements:
betageneralized least squares estimate
gammacorrelation factors
sigma2maximum Likelihood estimate of the process variance
CCholesky factor of correlation matrix
FtDecorrelated regression matrix
GFrom QR factorization: Ft = Q*t(G)