The goal of newsplineR is to implement a Fast Mean-Preserving Spline for Interpolating Interval Data, that has been proposed by Leo O Lai and Jed O. Kaplan (2022) https://doi.org/10.1175/JTECH-D-21-0154.1, originaly developped in Fortran https://github.com/ARVE-Research/newspline/tree/v3.0.0.
You can install the development version of newsplineR like so:
devtools::install_github("NRaillard/newsplineR")This is a basic example which shows you how to solve a common problem:
library(newsplineR)
## basic example code