Learn R Programming

iterLap (version 1.1-4)

resample: Residual resampling

Description

Perform residual resampling to the result of importance sampling

Usage

resample(n, obj)

Value

Matrix with resampled values

Arguments

n

Number of resamples to draw

obj

An object of class IS, as produced by the IS function

Author

Bjoern Bornkamp

Examples

Run this code
  ## see function iterLap for an example on how to use resample

Run the code above in your browser using DataLab