MeanCov {ICS}R Documentation

Mean Vector and Covariance Matrix

Description

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.4-1 Index]