R: Mean Vector and Covariance Matrix

MeanCov {ICS} | R Documentation

## Mean Vector and Covariance Matrix

### Description

The function returns for some multivariate data the mean vector and covariance matrix.

### Usage

    MeanCov(x)

### Arguments

`x` | a numeric data matrix.

### Value

A list containing:

`locations` | The mean vector as computed by `colMeans`.
`scatter` | The covariance matrix as computed by `cov`.

### Author(s)

Klaus Nordhausen

### See Also

`colMeans`, `cov`

### Examples

    X <- rmvnorm(200, 1:3, diag(2:4))
    MeanCov(X)

[Package ICS version 1.3-0 Index]