Flexible Non-Linear Least Square Model Fitting
Overview
Provides tools for flexible non-linear least squares model fitting using general-purpose optimization techniques. The package supports a variety of optimization algorithms, including those provided by the 'optimx' package, making it suitable for handling complex non-linear models. Features include parallel processing support via the 'future' and 'foreach' packages, comprehensive model diagnostics, and visualization capabilities. Implements methods described in Nash and Varadhan (2011, doi:10.18637/jss.v043.i09).
New features
- Added a new vignette, Modeling soybean canopy cover.
- Added the example dataset
dt_soybean_22, containing soybean canopy-cover time-series data from Keller et al. (2026). - The
print()method formodelerobjects now reports the parameter box constraints used during model fitting.
Bug fixes
plot.modeler()no longer produces the"Ignoring unknown labels"message
with ggplot2 >= 4.0 for plot types 4, 5, and 6. Legend labels are now added
only when the corresponding aesthetics are mapped.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 55 (10 internal)includes a package overview page
- Examples that run
- 100%51 run in a plain check
- Exported functions with examples
- 97%
- Documented parameters
- 99%
- Return-value docs
- 97%
- Help pages citing references
- 2%
- How to start HTML
- Modeling HTML
- Modeling soybean canopy cover HTML
- Modeling with constraints HTML
- Plotting options HTML
- Predicted values HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
7 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/apariciojohan/flexfitr on 2026-10-11.
GitHub Pages site last deployed 2026-09-09
pkgdown site last built 2026-09-09
Show all practicesHide 1 practice
Dependencies
Installing flexFitR adds 104 packages (47 with compiled code, 100 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.2.4Latest
- 1.2.32026-06-11 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.2.2
- unarchivedReturned to CRAN2025-11-04
- 1.2.12025-11-04 · diff ↗
- archivedRemoved from CRAN2025-10-15requires archived package 'agriutilities'
- 1.2.02025-04-16 · diff ↗ ·
removed 3 exports
fn_exp1_exp, fn_exp1_lin, fn_linear_satadded 15 exports
.delta_method, .delta_method_auc, .delta_method_deriv, .delta_method_gen, compute_tangent, ff, ff_auc, ff_deriv, fn_exp_exp, fn_exp_lin, fn_lin_logis, fn_lin_plat, fn_quad_pl_sm, fn_quad_plat, inverse_predict - RR 4.5.0 released · 2025-04-11
- 1.1.0
- 1.0.02025-01-20
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-01-20
- Total releases
- 7 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 53 KB / 3 files
- Download size
- 861 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("flexFitR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.