wbincounter {R2sample} | R Documentation |
Find counts and/or sum of weights in bins. Useful for power calculations. Replaces hist command from R.
Description
Find counts and/or sum of weights in bins. Useful for power calculations. Replaces hist command from R.
Usage
wbincounter(x, bins, w)
Arguments
x |
numeric vector |
bins |
numeric vector |
w |
numeric vector of weights |
Value
sum of weights in bins
[Package R2sample version 4.1.0 Index]