Description Usage Arguments Value Author(s)

View source: R/7_correlFunctions.R

Applies the Matern 5/2 correlation function to a list of distance matrices using corresponding length-scale parameters.

1 | ```
matern52_cor(Ms, thetas)
``` |

`Ms` |
a list with as many elements as inputs. Each element of the list must be a n times n matrix of differences between the observation coordinates, with n the number of input coordinates. |

`thetas` |
an array with the length-scale parameters corresponding to the inputs for which the distance matrices were provided. |

A correlation matrix of dimension n times n computed from the Matern 5/2 correlation function.

José Betancourt, François Bachoc and Thierry Klein

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.