Skip to main content

interp_rbeta

Function interp_rbeta 

Source
fn interp_rbeta(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Random beta deviates.

Generates n random values from a beta distribution.

@param n number of observations @param shape1 first shape parameter (default 1) @param shape2 second shape parameter (default 1) @return numeric vector of length n