Learn R Programming

litterfitter (version 0.1.4)

bootstrap_parameters: Create a bootstrap distribution of a particular coefficient from a model fit

Description

Create a bootstrap distribution of a particular coefficient from a model fit

Usage

bootstrap_parameters(x,nboot,upper,lower,...)

Value

litfit_bootstrap object

Arguments

x

an object of class "litfit"

nboot

number of bootstrap replications

upper

optional vector of upper bounds for the bootstrap replicates

lower

optional vector of lower bounds for the bootstrap replicates

...

passed to optim

Examples

Run this code
fit <- fit_litter(time=pineneedles$Year,
mass.remaining=pineneedles$Mass.remaining, model='neg.exp', iters=100)
boot1 <- bootstrap_parameters(fit, nboot = 500)



Run the code above in your browser using DataLab