resample: Resample

resampleR Documentation

Resample

Description

Systematic resampling.

Usage

systematic_resample(weights, Np = length(weights))

Arguments

weights

numeric; vector of weights.

Np

integer scalar; number of samples to draw.

Value

A vector of integers containing the indices of the resample.


kingaa/pomp documentation built on May 4, 2024, 1:20 p.m.