https://github.com/cran/convoSPAT
Raw File
Tip revision: 2ecb9ba15a04fd468731c269b17a2df92bbc16b3 authored by Mark D. Risser on 12 April 2017, 21:30:56 UTC
version 1.2
Tip revision: 2ecb9ba
kernel_cov.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convoSPAT_simulate.R
\name{kernel_cov}
\alias{kernel_cov}
\title{Calculate a kernel covariance matrix.}
\usage{
kernel_cov(params)
}
\arguments{
\item{params}{A vector of three parameters, corresponding to
(lam1, lam2, eta). The eigenvalues (lam1 and lam2) must be positive.}
}
\value{
A 2 x 2 kernel covariance matrix.
}
\description{
\code{kernel_cov} calculates a 2 x 2 matrix based on the eigendecomposition
components (two eigenvalues and angle of rotation).
}
\examples{
kernel_cov(c(1, 2, pi/3))

}

back to top