round_p: round p

Description Usage Arguments

Description

Rounds p value to specified digits and uses less symbol if result it zero.

Usage

1
round_p(p, n = 2, stars = c(), leading.zero = T)

Arguments

p

a p value, or vector of p-values

n

a numeric. The number of digits to round to.

stars

a numeric vector, add a star every time p is less than a respective star

leading.zero

a bool. If FALSE, leading zeros will be removed


JConigrave/papertools documentation built on Dec. 6, 2019, 8:51 a.m.