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))


seminr documentation built on Oct. 13, 2022, 1:05 a.m.