The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Dcurvature

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.

Installation

# install.packages("remotes")
remotes::install_local("path/to/Dcurvature")

Core usage

library(Dcurvature)

pts <- cbind(
  x = seq(0, 1, length.out = 12),
  y = sin(seq(0, pi, length.out = 12))
)

kappa <- curvature(pts)
head(kappa)

Example data

x <- load_example_data()
str(x)

Run the app

if (interactive()) {
  run_curvature_app()
}

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.