star: Function to simplify converting p-values to asterisks

starR Documentation

Function to simplify converting p-values to asterisks

Description

Function to simplify converting p-values to asterisks

Usage

star(x, includeMarginal = FALSE)

Arguments

x

p values to convert to stars

includeMarginal

logical value whether to include a symbol for marginally significant >.05 but < .10 p-values. Defaults to FALSE.

Value

A character string with stars

Examples

star(c(.0005, .001, .005, .01, .02, .05, .08, .1, .5, 1))

JWiley/JWileymisc documentation built on Feb. 15, 2024, 12:23 p.m.