Skip to main content

interp_rgumbel

Function interp_rgumbel 

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

Random Gumbel (Type I extreme value) deviates.

miniR extension – not available in base R.

The Gumbel distribution models the maximum (or minimum) of many samples. It is parameterised by location mu and scale beta.

@param n number of observations @param mu location parameter (default 0) @param beta scale parameter (positive, default 1) @return numeric vector of length n