Package: flexFitR 1.2.2

flexFitR: Flexible Non-Linear Least Square Model Fitting

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

Authors:Johan Aparicio [cre, aut], Jeffrey Endelman [aut], University of Wisconsin Madison [cph]

flexFitR_1.2.2.tar.gz
flexFitR_1.2.2.zip(r-4.7)flexFitR_1.2.2.zip(r-4.6)flexFitR_1.2.2.zip(r-4.5)
flexFitR_1.2.2.tgz(r-4.6-any)flexFitR_1.2.2.tgz(r-4.5-any)
flexFitR_1.2.2.tar.gz(r-4.7-any)flexFitR_1.2.2.tar.gz(r-4.6-any)
flexFitR_1.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
flexFitR/json (API)
NEWS

# Install 'flexFitR' in R:
install.packages('flexFitR', repos = c('https://apariciojohan.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/apariciojohan/flexfitr/issues

Pkgdown/docs site:https://apariciojohan.github.io

Datasets:
  • dt_potato - Drone-derived data from a potato breeding trial

On CRAN:

Conda:

nlsoptimization

7.12 score 6 stars 221 scripts 227 downloads 34 exports 114 dependencies

Last updated from:830722dddf. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK211
source / vignettesOK259
linux-release-x86_64OK203
macos-release-arm64OK172
macos-oldrel-arm64OK173
windows-develOK161
windows-releaseOK153
windows-oldrelOK155
wasm-releaseOK138

Exports:.delta_method.delta_method_auc.delta_method_deriv.delta_method_gen.fitter_curveaugmentcompute_tangentexplorerffff_aucff_derivfn_exp_expfn_exp_linfn_exp2_expfn_exp2_linfn_linfn_lin_logisfn_lin_pl_linfn_lin_platfn_lllfn_logisticfn_lplfn_qplfn_quadfn_quad_pl_smfn_quad_platinverse_predictlist_funslist_methodsmetricsmodelerperformanceplot_fnseries_mutate

Dependencies:abindagriutilitiesbackportsbootbroomcarcarDataclicodetoolscolorspacecorrplotcowplotcpp11data.tableDerivdigestdoBydoFuturedotCall64dplyremmeansestimabilityevaluatefarverfieldsforeachforecastFormulafracdifffuturefuture.applygenericsggplot2ggpubrggrepelggsciggsignifglobalsglueGPArotationgridExtragtablehighrisobanditeratorsknitrlabelinglatticelifecyclelistenvlme4lmerTestlmtestmagrittrmapprojmapsMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamnormtmodelrmvtnormnlmenloptrnnetnumDerivoptimxparallellypbkrtestpillarpkgconfigpolynompracmaprogressrpsychpurrrqtlquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrstatixS7scalesspamSparseMSpATSstatgenSTAstringistringrsubplexsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrxfunxtableyamlzoo

How to start

Rendered fromhow_to_start.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2025-03-31
Started: 2024-08-20

Modeling

Rendered fromcanopy-model.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2025-03-26
Started: 2024-06-30

Modeling with constraints

Rendered frommaturity-model.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2026-01-27
Started: 2024-07-01

Plotting options

Rendered fromplotting.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2025-03-26
Started: 2024-09-23

Predicted values

Rendered frompredicted_values.Rmdusingknitr::rmarkdownon May 24 2026.

Last update: 2025-03-26
Started: 2024-11-22

Readme and manuals

Help Manual

Help pageTopics
Extra Sum-of-Squares F-Test for 'modeler' objectsanova.modeler
Augment a 'modeler' object with influence diagnosticsaugment
Combine objects of class 'modeler'c.modeler
Coefficients for an object of class 'modeler'coef.modeler
Compute tangent line(s) from a 'modeler' objectcompute_tangent
Confidence intervals for a modeler objectconfint.modeler
Drone-derived data from a potato breeding trialdt_potato
Explore dataexplorer
Extract fitted values from a 'modeler' objectfitted.modeler
Double-exponential functionfn_exp_exp
Exponential-linear functionfn_exp_lin
Super-exponential exponential functionfn_exp2_exp
Super-exponential linear functionfn_exp2_lin
Linear functionfn_lin
Linear-logistic functionfn_lin_logis
Linear plateau linear functionfn_lin_pl_lin
Linear plateau functionfn_lin_plat
Linear–logistic–linear functionfn_lll
Logistic functionfn_logistic
Linear plateau linear with constrainsfn_lpl
Quadratic–plateau–linear functionfn_qpl
Quadratic functionfn_quad
Smooth Quadratic-plateau functionfn_quad_pl_sm
Quadratic-plateau functionfn_quad_plat
Akaike's An Information Criterion for an object of class 'modeler'AIC.modeler BIC.modeler goodness_of_fit
Inverse prediction from a 'modeler' objectinverse_predict.modeler
Print available functions in flexFitRlist_funs
Print available methods in flexFitRlist_methods
Extract Log-Likelihood for an object of class 'modeler'logLik.modeler
Metrics for an object of class 'modeler'metrics
Modeler: Non-linear regression for curve fittingmodeler
Compare performance of different modelsperformance
Plot user-defined functionplot_fn
Plot an object of class 'explorer'plot.explorer
Plot an object of class 'modeler'plot.modeler
Plot an object of class 'performance'plot.performance
Predict an object of class 'modeler'predict.modeler
Print an object of class 'modeler'print.modeler
Extract residuals from a 'modeler' objectresiduals.modeler
Transform variables in a data frameseries_mutate
Subset an object of class 'modeler'subset.modeler
Update a 'modeler' objectupdate.modeler
Variance-Covariance matrix for an object of class 'modeler'vcov.modeler