Find the maximum amplitude of cell sinuosity

max_amplitude(cell, junction_points)

Arguments

cell

sf object; the cell.

junction_points

Matrix. The x and y coordinates defining the simplified cell, as returned by cell.simplify()

Value

Numeric. The maximum distance from the simplified cell edge to the actual cell wall.