View source: R/covariance-functions.R

Independant covariance function. Is zero everywhere except for inputs with zero distance. Has single hyperparameter of log signal variance. All nonzero outputs are equal to the signal variance.

1 | ```
cov.independent(X, X2, beta, D = NA, ...)
``` |

`X` |
Matrix of data |

`X2` |
(optional) second matrix of data; if omitted, X is used. |

`beta` |
The single hyperparameter: the log of the signal variance |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.