addBootSampleObject: Create a bootsrap sample for coefficient estimates

View source: R/renewal_methods.R

addBootSampleObjectR Documentation

Create a bootsrap sample for coefficient estimates

Description

Create a boostrap sample from coefficient estimates.

Usage

addBootSampleObject(object, ...)

Arguments

object

an object to add boot object to.

...

extra parameters to be passed to the boot::boot() function other than data and statistic.

Details

The information in object is used to prepare the arguments and then boot is called to generate the bootstrap sample. The bootstrap sample is stored in object as component "boot". Arguments in "..." can be used customise the boot() call.

Value

object with additional component "boot"

See Also

renewal_methods

Examples

## see renewal_methods

GeoBosh/Countr documentation built on Jan. 26, 2024, 12:16 p.m.