View source: R/minimize_least_squares.R
minimize_least_squares | R Documentation |
This is an internal function of the remulator package. It fits a user defined function to data minimizing the sum of the error squares.
minimize_least_squares(dat, initial_values, userform, ...)
dat |
Array with data points to fit containing one column with sample numbers, one column with x values, and one column with y values |
initial_values |
Initial values for the parameters to be optimized over. |
userform |
Fit function for which least squares will be calaculated using the |
... |
Arguments passed on to the |
list containing fit coefficients and messages
David Klein
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.