Skip to main content

interp_rexp

Function interp_rexp 

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

Random exponential deviates.

Generates n random values from an exponential distribution.

@param n number of observations @param rate rate parameter (default 1) @return numeric vector of length n