get_curve_centroid {fdasrvf} | R Documentation |
Computes the centroid of a curve
Description
Computes the centroid of a curve
Usage
get_curve_centroid(betafun)
Arguments
betafun |
A function that takes a numeric vector |
Value
A numeric vector of length L
storing the centroid of the curve.
Examples
betafun <- discrete2curve(beta[, , 1, 1])
get_curve_centroid(betafun)
[Package fdasrvf version 2.4.0 Index]