powered by
Calculates centroid size
coo_centsize(coo)
numeric, the centroid size.
numeric
matrix of (x; y) coordinates or any Coo object.
matrix
(x; y)
This function can be used to integrate size - if meaningful - to Coo objects. See also coo_length and rescale.
Other centroid functions: coo_centdist(), coo_centpos()
coo_centdist()
coo_centpos()
coo_centsize(bot[1]) # on a Coo coo_centsize(bot) # add it to $fac mutate(bot, size=coo_centsize(bot))
Run the code above in your browser using DataLab