Learn R Programming

mclust (version 1.1-7)

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(iris[,1:4]))

Run the code above in your browser using DataLab