# flexFitR 1.2.3

## New features

* New example dataset `dt_potato_22`

## Bug fixes

* Fixed issue with `plot.performance()` when reporting average metrics.
* Fixed minor bugs and issues.

# flexFitR 1.2.2

## New features

* New functions added: `fn_lpl()`, `fn_qpl()`, `fn_qpl()`.

# flexFitR 1.2.1

## Changes 

* `compute_tangent()` accepts the `x` argument as data.frame.

## Bug fixes

* Fixed issue when `ggplot2` was updated.
* Parallel was not working properly. 

# flexFitR 1.2.0

## New features

* `compute_tangent()` function added to compute tangent line(s) for a `modeler` object.
* `inverse_predict.modeler()` S3 method added to calculate inverse predictions for
`modeler` objects.
* `update.modeler()` S3 method added to refit a model of class `modeler`.
* Adding `fn_lin_logis()`, `fn_quad_plat()` and `fn_quad_pl_sm()`.
* `predict.modeler()` includes `parallel` and `workers` to allow for parallel computing.

## Changes

* When evaluating several methods in `modeler()`, Jacobian and Hessian are
computed only for the best method.
* Now functions are required to be vectorized (faster execution).
* Renaming `fn_lin_plat()` function.
* The `modeler()` function now uses `optimr` instead of `opm` for faster execution.
* `plot.modeler()` includes `linewidth` argument to increase size in geom lines.

## Bug fixes

* Removed methods that required hessian matrix (snewton, snewtonm, snewtm) in `list_methods()`.
* Fixed issue when combining fitted values in `modeler()`.

# flexFitR 1.1.0

## New features

* `fitted.modeler()` S3 method added to extract fitted values from `modeler` objects.
* `residuals.modeler()` S3 method added to extract residuals from `modeler` objects.
* `augment()` function added to calculate influence measures (Cook's distance,
  leverage values, standardized residuals, studentized residuals).
* `c.modeler()` S3 method added to combine `modeler` objects.
* `subset.modeler()` S3 method added to subset `modeler` objects.
* `performance()` function added to evaluate the performance of several models.
* `plot.performance()` S3 method to plot an object of class `performance`.

## Changes

* `modeler()` adds the function name (`fn_name`) in every output table.
* `modeler()` no longer returns function call.
* `plot.modeler()` includes `add_ribbon_pi` and `add_ribbon_ci` arguments for
prediction and confidence intervals.
* `metrics()` returns R2 instead of r_squared.

## Bug fixes

* Fixed conflict of `modeler()` with upcoming version of `future`.
* Fixed increase dependency to R (>=4.1).
* Fixed regression function not found in the environment when running in parallel.

# flexFitR 1.0.0

# flexFitR 0.1.0

* Initial CRAN submission.
