return the centroid of an object
Source:R/all_generic.R
, R/neurospace.R
, R/roi.R
centroid-methods.Rd
return the centroid of an object
Examples
bspace <- NeuroSpace(c(10,10,10), c(2,2,2))
centroid(bspace)
#> [1] 10 10 10
R/all_generic.R
, R/neurospace.R
, R/roi.R
centroid-methods.Rd
return the centroid of an object
bspace <- NeuroSpace(c(10,10,10), c(2,2,2))
centroid(bspace)
#> [1] 10 10 10