make_global_loglik1_kappa {convoSPAT} | R Documentation |
This function generates another function to be used within optim
to
obtain maximum likelihood estimates of
global variance parameters tausq, sigmasq, and nu.
make_global_loglik1_kappa(data, Xmat, cov.model, Scalemat, Distmat, nugg2.var)
data |
A vector or matrix of data to use in the likelihood calculation. |
Xmat |
The design matrix for the mean model. |
cov.model |
String; the covariance model. |
Scalemat |
Matrix; contains the scaling quantities from the covariance function. |
Distmat |
Matrix; contains the scaled distances. |
nugg2.var |
Fixed values for the covariance of the second nugget term. |
This function returns another function for use in optim
.
## Not run:
make_global_loglik1_kappa( data, Xmat, cov.model, Scalemat, Distmat, nugg2.var )
## End(Not run)