mat_pval_cat: Add p-value and paste

View source: R/utilities.R

mat_pval_catR Documentation

Add p-value and paste

Description

Add p-value and paste

Usage

mat_pval_cat(estimate, p_value, digits = 2, ...)

Arguments

estimate

Parameters of interest

p_value

p-values for the estimate

digits

rounding before pasting

...

Currently unused

See Also

format.pval

Examples

p_vals <- c(0.01, 0.0001, 0.05, 0.09)
mat_pval_cat(p_vals, p_vals)
mat_pval_cat(p_vals, p_vals, digits=4)

MatthieuStigler/matPkg documentation built on Nov. 13, 2023, 7:53 p.m.