Dcurvature provides a fast C++/Rcpp implementation of
discrete curvature on ordered 2D curves, plus a Shiny app for PCA
component selection using curvature-based elbow detection.
# install.packages("remotes")
remotes::install_local("path/to/Dcurvature")library(Dcurvature)
pts <- cbind(
x = seq(0, 1, length.out = 12),
y = sin(seq(0, pi, length.out = 12))
)
kappa <- curvature(pts)
head(kappa)x <- load_example_data()
str(x)if (interactive()) {
run_curvature_app()
}
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.