recl: Calculate the Residual Composite log-Likelihood.

Description Usage Arguments

View source: R/recl.R View source: R/temp/fns5.R

Description

recl calculates the residual composite log-likelihood.

Usage

1
recl(theta, coordsMat, Y, Xmat, pointsj, cov.model = "exp", ...)

Arguments

theta

A named numeric vector containing the covariance parameters. It should (at least) have element sigma2 and phi. Other possible elements are nugget and kappa.

coordsMat

A N by D matrix of coordinates. D is the spatial dimension, typically 2 or 3.

Y

the response vector

Xmat

the design matrix (not the data.frame)

pointsj

A list. Each list contains the row number of the data matrix (Y or Xmat or coordsMat) that correspond to the (k,l) block.

cov.model

This is passed to geoR::cov.spatial


kohleth/spcreml documentation built on May 20, 2019, 12:53 p.m.