Skip to contents

Returns a vector of random logicals of length n, drawn from binomial distribution with trial probability prob (default = .5).

Usage

rbool(n, prob = 0.5)