ssp_resampling_n: SSP resampling

Description Usage Value

View source: R/util_resampling.R

Description

Runs an SSP resampling algorithm, taking a vector of normalized weights (length N) and a vector of uniform variables (length N) and returning a vector of ancestors (length N)

Usage

1
ssp_resampling_n(normalized_weights, u_vector)

Value

A vector of ancestors


pierrejacob/bayeshscore documentation built on May 25, 2019, 11:35 p.m.