Skip to content

[Defunct]

This function was deprecated in purrr 1.0.0 and is now defunct because it's not related to the core purpose of purrr.

Usage

rbernoulli(n, p = 0.5)

Arguments

n

Number of samples

p

Probability of getting TRUE

Value

A logical vector