pwlapprox2d: Approximates Univariate Continuous Functions Through Piecewise Linear Regression

Allows users to find a piecewise linear regression approximation to a given continuous univariate function within a specified error tolerance. Methods based on Warwicker and Rebennack (2025) "Efficient continuous piecewise linear regression for linearising univariate non-linear functions" <doi:10.1080/24725854.2023.2299809>.

Version: 0.1.0
Imports: nloptr
Suggests: knitr, rmarkdown
Published: 2025-11-21
DOI: 10.32614/CRAN.package.pwlapprox2d (may not be active yet)
Author: John Warwicker [aut, cre]
Maintainer: John Warwicker <john.warwicker at kit.edu>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: pwlapprox2d results

Documentation:

Reference manual: pwlapprox2d.html , pwlapprox2d.pdf
Vignettes: Introduction to pwlapprox2d (source, R code)

Downloads:

Package source: pwlapprox2d_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): pwlapprox2d_0.1.0.tgz, r-oldrel (arm64): pwlapprox2d_0.1.0.tgz, r-release (x86_64): pwlapprox2d_0.1.0.tgz, r-oldrel (x86_64): pwlapprox2d_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=pwlapprox2d to link to this page.