Description Usage Arguments Details Value
Perform a Bayesian bootstrap for a fitted nls model.
1 | nlsBayesBoot(object, nboot = 99, statistic = coef)
|
object |
A fitted nls object. |
nboot |
Number of bootstrap samples. |
statistic |
A function that takes a fitted nls object as its first argument and returns a vector of test statistics. |
The user must provide a function to compute the test statistic
from a fitted nls object. The test statistic is computed for each
bootstrap sample and the results stored as a list in the boot
component of the returned object. If nls
fails to converge
for any bootstrap sample NULL
is returned for that sample.
Returns an object of class nlsBoot
containing
|
the matched call |
|
the test statistic |
|
the fitted nls object |
|
an array of bootrap samples |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.