Description Usage Arguments Details Value Examples

Calculate covariance matrix between individual landmark coordinates. Skips any missing values in computation of covariance matrix.

1 | ```
covar(A)
``` |

`A` |
An N x 3 x M array where N is the number of landmarks, 3 is the number of dimensions, and M is the number of specimens. |

This function does not guarantee that the returned matrix is
positive definite. If the covariance matrix is not positive definite
a warning is given and the matrix can be bent to create the closest
positive definite matrix with `as.matrix(Matrix::nearPD(mat)$mat)`

.

3N x 3N covariance matrix

1 2 |

paleomorph documentation built on May 30, 2017, 12:38 a.m.

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.