plot.litfit_bootstrap | R Documentation |
Plot a bootstrap distribution of a particular coefficient
## S3 method for class 'litfit_bootstrap'
plot(x,coef.index,bw,...)
x |
litfit object |
coef.index |
coefficient number to plot from the |
bw |
bandwidth (or bandwidth algorithm see |
... |
additional arguments passed to plot.default |
The grey fill goes from 0.025 quantile to the 0.975 quantile of the distribution. Red line shows the mean. Blue line shows the median.
plot of litfit_bootstrap object, returns invisibly
James Weedon
fit_litter
bootstrap_parameters
density
fit <- fit_litter(time=pineneedles$Year,
mass.remaining=pineneedles$Mass.remaining, model='neg.exp', iters=200)
boot1 <- bootstrap_parameters(fit, nboot = 500)
plot(boot1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.