Description Usage Arguments Details Examples
Nonlinear Fit for WSE-w Relationship
1 | fit_nonlinear(WSEw, h = 5, maxiter = 100)
|
WSEw |
WSEw data (at a given level of exposure) |
h |
minimum amount of data to perform fit |
maxiter |
maximum number of iterations for the parameter estimation algorithm |
Uses a default initial guess, but if the fit is very bad, attempts several fits performed with different starting guesses and returns the best fit. See attributes(fit)$ef for error flags. Value 0 means no error, 1 means not enough data points, 2 means singular gradient at initial guess for nlsLM
1 2 | WSEw <- data.frame(WSE = NA, w = NA) # test case
model1 <- fit_nonlinear(WSEw, h = 5, maxiter = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.