Learn R Programming

Momocs (version 1.1.6)

coo_width: Calculates the width of a shape

Description

Nothing more than coo_lw(coo)[2].

Usage

coo_width(coo)

Arguments

coo
a matrix of (x; y) coordinates or Coo object

Value

the width (in pixels) of the shape

See Also

coo_lw, coo_length. Other coo_ descriptors: coo_area, coo_boundingbox, coo_chull, coo_circularityharalick, coo_circularitynorm, coo_circularity, coo_convexity, coo_eccentricityboundingbox, coo_eccentricityeigen, coo_elongation, coo_length, coo_lw, coo_rectangularity, coo_rectilinearity, coo_solidity, coo_tangle, coo_theta3, coo_thetapts

Examples

Run this code
data(bot)
coo_width(bot[1])

Run the code above in your browser using DataLab