add_nls | R Documentation |
Add model fits to nested data
add_nls(by_var, formula, lower_bound, control_list = list(maxiter = 500), ...)
by_var |
A nested tibble, as output by add_start_pars(). |
formula |
formula for the model to be fit |
lower_bound |
named numeric vector containing lower bounds, in order, for the input parameters. |
control_list |
a named list, passed directly to nlslM, to set controls for the fitting. |
... |
additional named arguments, which will be passed to the helper function get_nls. Also serves the purpose of allowing irrelevant arguments passed from upstream functions using ... to be ignored. |
The input nested df, with an additional column named "model", containing the input formula fitted to the data. Is either an s3 model class, or s3 faild model class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.