To cite package ‘pwlapprox2d’ in publications use:

Warwicker J (2025). pwlapprox2d: Approximates Univariate Continuous Functions Through Piecewise Linear Regression. R package version 0.1.0, https://github.com/jwarwicker/pwlapprox2d.

Corresponding BibTeX entry:

  @Manual{,
    title = {pwlapprox2d: Approximates Univariate Continuous Functions
      Through Piecewise Linear Regression},
    author = {John Warwicker},
    year = {2025},
    note = {R package version 0.1.0},
    url = {https://github.com/jwarwicker/pwlapprox2d},
  }