Computes the curvature \(\kappa(s)\) at each point along the arc-length abscissa using cubic smoothing splines (3 degrees of freedom per component).
Arguments
- x
A streamline object.
- scalar
One of
"mean","sd","max", orNULL(default). WhenNULLthe full profile is returned as a data frame with columnssandcurvature.