Skip to main content

interp_rskewnorm

Function interp_rskewnorm 

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

Random skew-normal deviates.

miniR extension – not available in base R.

The skew-normal distribution generalises the normal distribution to allow non-zero skewness. When shape = 0 it reduces to the normal distribution.

@param n number of observations @param location location parameter (default 0) @param scale scale parameter (positive, default 1) @param shape skewness parameter (default 0; 0 = normal) @return numeric vector of length n