# Covariance Matrix with Respect to the Origin

### Description

Estimates the covariance matrix with respect to the origin.

### Usage

1 |

### Arguments

`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. |

### Details

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

*
S_0=X'X/n.*

### Value

A matrix.

### Author(s)

Klaus Nordhausen

### See Also

`cov`

### Examples

1 2 3 4 5 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.