| get_curve_centroid | R Documentation |
Computes the centroid of a curve
get_curve_centroid(betafun)
betafun |
A function that takes a numeric vector |
A numeric vector of length L storing the centroid of the curve.
betafun <- discrete2curve(beta[, , 1, 1])
get_curve_centroid(betafun)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.