Calculate 2D or 3D covariance matrix using unscaled congruence coefficient. Skips any missing values in computation of covariance matrix

1 | ```
dotcvm(A)
``` |

`A` |
An N x D x M array where N is the number of landmarks, D is the number of dimensions (2 or 3), 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)`

.

N x N covariance matrix

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.