centroid-methods: return the centroid of an object

centroidR Documentation

return the centroid of an object

Description

return the centroid of an object

Usage

centroid(x, ...)

## S4 method for signature 'NeuroSpace'
centroid(x)

## S4 method for signature 'ROICoords'
centroid(x)

Arguments

x

an object with a centroid

...

extra args

Value

the centroid of the object

Examples


bspace <- NeuroSpace(c(10,10,10), c(2,2,2))
centroid(bspace)


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