tab_bins_weighted: Tabulate a weighted vector of observations

View source: R/RcppExports.R

tab_bins_weightedR Documentation

Tabulate a weighted vector of observations

Description

Similar to tab_bins but instead of each observation being implicitly given weight 1, it now has weight given by wt[i].

Usage

tab_bins_weighted(a, wt, nbins)

Arguments

a

a set of observations

wt

a set of weights

nbins

number of bins


mrc-ide/safir documentation built on Aug. 2, 2022, 10:47 a.m.