Skip to Content

centroid_variance {popgraph}

This function takes a data set and a group set and returns centroid variances
Package: 
popgraph
Version: 
1.3

Description

This is a convience function for a reduce and distance operation based upon multivariate predictor variables.

Usage

centroid_variance(x, grouping)

Arguments

x
The NxP matrix of raw data.
grouping
The Nx1 vector of grouping factors.

Values

The sum of the within stratum variance for each group

Author(s)

Rodney J. Dyer

Documentation reproduced from package popgraph, version 1.3. License: GPL (>= 2)