Estimates the covariance matrix with respect to the origin.

1 |

`X` |
a numeric data matrix or dataframe. |

`location` |
optional location value which serves then as the center instead of the origin. |

`na.action` |
a function which indicates what should happen when the data contain 'NA's. Default is to fail. |

The covariance matrix *S_0* with respect to origin is given for a matrix X with n observations by

*
S_0=X'X/n.*

A matrix.

Klaus Nordhausen

1 2 3 4 5 |

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.