Crandore Hub

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>.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 pwlapprox2d_0.1.0.tar.gz 44.6 KiB
0.1.0 rolling linux/noble R-4.5 pwlapprox2d_0.1.0.tar.gz 44.5 KiB
0.1.0 rolling source/ R- pwlapprox2d_0.1.0.tar.gz 13.1 KiB
0.1.0 latest linux/jammy R-4.5 pwlapprox2d_0.1.0.tar.gz 44.6 KiB
0.1.0 latest linux/noble R-4.5 pwlapprox2d_0.1.0.tar.gz 44.5 KiB
0.1.0 latest source/ R- pwlapprox2d_0.1.0.tar.gz 13.1 KiB
0.1.0 2026-04-26 source/ R- pwlapprox2d_0.1.0.tar.gz 13.1 KiB
0.1.0 2026-04-23 source/ R- pwlapprox2d_0.1.0.tar.gz 13.1 KiB
0.1.0 2026-04-09 windows/windows R-4.5 pwlapprox2d_0.1.0.zip 48.6 KiB

Dependencies (latest)

Imports

Suggests