Skip to contents

Return a matrix of centroids of an object

Usage

centroids(x, ...)

# S4 method for ClusteredNeuroVol
centroids(x, type = c("center_of_mass", "medoid"))

Arguments

x

an object with multiple centroids (e.g. a ClusteredNeuroVol)

...

extra args

type

the type of center of mass: one of "center_of_mass" or "medoid"