Learn R Programming

mrbsizeR (version 1.2)

eigenQsphere: Generate eigenvalues of precision matrix Q on the surface of a sphere.

Description

The eigenvalues of the precision matrix Q with dimension (mm, nn) and polar angle limits phimin, phimax are calculated.

Usage

eigenQsphere(phimin, phimax, mm, nn)

Arguments

phimin

Polar angle minimum.

phimax

Polar angle maximum.

mm

Number of rows of precision matrix Q.

nn

Number of columns of precision matrix Q.

Value

A list containing 2 elements:

  • eigval Row vector containing the eigenvalues of Q.

  • eigvec Matrix containing the eigenvectors of Q as columns.

Details

The corresponding function for data on a grid is eigenLaplace.

Examples

Run this code
# NOT RUN {
eig_out <- eigenQsphere(phimin = 180/10, phimax = 180 - 180/10, mm = 10, nn = 20)

# }

Run the code above in your browser using DataLab