Learn R Programming

mclust (version 2.0-1)

traceW: Compute traceW

Description

Computes the trace of the sample cross product matrix.

Usage

traceW(x)

Arguments

x
Data matrix

Examples

Run this code
data(iris)
traceW(as.matrix(as.matrix(iris[,1:4])))

Run the code above in your browser using DataLab