up Inquisit Language Reference

randbernoulli function

Generates a random number according to the discrete probability function.

Member of

<global>

Syntax

randbernoulli(p)

Parameters

Name Type Description
p number The probability of generating true.

Examples


Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.