Learn R Programming

hypervolume (version 2.0.12)

get_centroid: Get centroid of hypervolume or hypervolume list

Description

Returns the column mean of the random points in each hypervolume.

Usage

get_centroid(hv)

Arguments

hv

A Hypervolume or HypervolumeList object.

Value

Either a vector or a matrix of column of centroid values along each axis.

Examples

Run this code
# NOT RUN {
data(iris)
hv = hypervolume_gaussian(iris[,1:2])
get_centroid(hv)
# }

Run the code above in your browser using DataLab