Skip to main content

builtin_format_pval

Function builtin_format_pval 

Source
fn builtin_format_pval(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Format p-values for display, showing e.g. “< 2.2e-16” for very small values.

@param pv numeric vector of p-values @param digits integer: number of significant digits (default 3) @param eps numeric: threshold below which to show “< eps” (default 2.220446e-16, i.e. .Machine$double.eps) @return character vector of formatted p-values