powered by
Nothing more than coo_lw(coo)[1].
coo_lw(coo)[1]
coo_length(coo)
a matrix of (x; y) coordinates or a Coo object
matrix
the length (in pixels) of the shape
This function can be used to integrate size - if meaningful - to Coo objects. See also coo_centsize and rescale.
coo_lw, coo_width
Other coo_ descriptors: coo_angle_edge1, coo_angle_edges, coo_angle_tangent, coo_area, coo_boundingbox, coo_chull, coo_circularity, coo_convexity, coo_eccentricity, coo_elongation, coo_lw, coo_rectangularity, coo_rectilinearity, coo_solidity, coo_width
coo_angle_edge1
coo_angle_edges
coo_angle_tangent
coo_area
coo_boundingbox
coo_chull
coo_circularity
coo_convexity
coo_eccentricity
coo_elongation
coo_lw
coo_rectangularity
coo_rectilinearity
coo_solidity
coo_width
# NOT RUN { coo_length(bot[1]) coo_length(bot) mutate(bot, size=coo_length(bot)) # }
Run the code above in your browser using DataLab