makeSphericalSigma: Create a spherical covariance matrix
Description
A nimbleFunction that returns a diagonal matrix with all diagonal entries equal to tau_sq. This function is not intended to be called by users of the package directly.
Usage
makeSphericalSigma(tau_sq, p)
Value
A p x p spherical covariance matrix.
Arguments
tau_sq
The variance parameter for the spherical covariance matrix.
p
The dimension of the covariance matrix.
See Also
nimbleFunction for information on nimbleFunctions.