add_start_pars: Generate named list of starting parameters for dsfworld...

View source: R/add_start_pars.R

add_start_parsR Documentation

Generate named list of starting parameters for dsfworld models

Description

A wrapper function to apply get_start_pars across a tibble of nested dsf data, containg a column of calculated estimates for initial RFU and transitions, as added by add_estimates. Appends a column containing starting parameter estimates for a list of user-requested parameters (determined by the model to be fit).

Usage

add_start_pars(by_var, ...)

Arguments

by_var

A nested tibble, including estimate values, add_estimates().

...

additional named arguments, which are passed to get_start_pars. In a standard workflow, this would include the names of the requested parameters. It could also include a lsit to overwrite the defaults for pars_defaults.

Value

The input nested df, with an additional column named "pars", containing a names list of starting parameter estimates to be passed to nlsLM for model fitting.


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