centroids-methods: Return a matrix of centroids of an object

centroidsR Documentation

Return a matrix of centroids of an object

Description

Return a matrix of centroids of an object

Usage

centroids(x, ...)

## S4 method for signature '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"


bbuchsbaum/neuroim2 documentation built on April 20, 2024, 4:20 p.m.