add_model_preds: Add model predcition to nested data.

View source: R/add_model_preds.R

add_model_predsR Documentation

Add model predcition to nested data.

Description

Add model predcition to nested data.

Usage

add_model_preds(by_var, ...)

Arguments

by_var

A nested tibble, as output by add_nls()

...

additional named arguments, passed to downstream functions. Also serves the purpose of allowing irrelevant arguments passed from upstream functions using ... to be ignored.

Value

The input nested df, with the data column updated to include predictions for the individual sigmoids from the model fits.


taiawu/dsfworld_package documentation built on June 18, 2024, 5:39 a.m.