Description Usage Arguments Examples
Adds a method to tidy
(broom package), so that we can use it for models fitted with nlsList
.
1 2 3 |
x |
An object returned by |
conf.int |
Whether to calculate confidence intervals |
conf.level |
The level of the confidence interval |
quick |
If TRUE, only returns the coefficients. |
... |
Further arguments passed to |
1 2 3 4 5 6 7 8 9 10 | chick <- as.data.frame(ChickWeight)
# Fit an nlsList model, with a grouping variable (Diet)
fit1 <- nlsList(weight ~ a*Time^b | Diet, data=chick, start=list(a=10, b=1.1))
# Collect coefficients
tidy(fit1)
# ... and confidence intervals
tidy(fit1, conf.int=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.