psignr: Format p values for the output and removes trailing numbers...

View source: R/plot_utils.R

psignrR Documentation

Format p values for the output and removes trailing numbers when p > .10

Description

Format p values for the output and removes trailing numbers when p > .10

Usage

psignr(pvals, sig.limit = c(0.05, 0.01, 0.001), html = FALSE)

Arguments

pvals

A vector with p-values

sig.limit

The thresholds for adding an additional asterisk

html

whether to use html coded output

Value

A string of asterisks

pvalr(c(0.432, 0.05, 0.00001))


sem-in-r/seminr documentation built on Aug. 26, 2022, 8:47 p.m.