make_global_loglik3_kappa: Constructor functions for global parameter estimation.

Description Usage Arguments Value Examples

Description

This function generates another function to be used within optim to obtain maximum likelihood estimates of global variance parameters tausq and nu. The process variance is taken to be spatially-varying.

Usage

1
2
make_global_loglik3_kappa(data, Xmat, cov.model, Scalemat, Distmat,
  obs.variance)

Arguments

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.

obs.variance

A vector containing the spatially-varying variance corresponding to each data location.

Value

This function returns another function for use in optim.

Examples

1
2
3
4
## Not run: 
make_global_loglik3_kappa( data, Xmat, cov.model, Scalemat, Distmat, obs.variance )

## End(Not run)


Search within the convoSPAT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.