coo.centsize
returns the centroid size of the shape, i.e. the square root of the sum of squared distances from each point to the centroid of the shape.coo.centsize(coo)
list
or a matrix
of coordinates.data(bot)
coo <- bot@coo[[1]]
coo.centsize(coo)
coo.centsize(coo.scale(coo)) # by default coo.scale scales to centroid size.
Run the code above in your browser using DataLab