bincounter_cpp {R2sample}R Documentation

count occurances in bins. Useful for power calculations. Replaces hist command from R.

Description

count occurances in bins. Useful for power calculations. Replaces hist command from R.

Usage

bincounter_cpp(x, bins)

Arguments

x

numeric vector

bins

numeric vector

Value

Integer vector of counts


[Package R2sample version 1.1.0 Index]