https://github.com/cran/convoSPAT
Raw File
Tip revision: 2073c51e8630a7edc1e9682aa1e77927f1d5ed50 authored by Mark D. Risser on 15 January 2021, 23:50:04 UTC
version 1.2.7
Tip revision: 2073c51
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