p2Star: p2Star Converts a vector of probabilities into a vector of...

View source: R/CTstared.R

p2StarR Documentation

p2Star Converts a vector of probabilities into a vector of stars for display.

Description

p2Star Converts a vector of probabilities into a string vector of stars for display.

Usage

p2Star(pValues, threshold = c(0.05, 0.01, 0.001))

Arguments

pValues

a vector of $p$ values (i.e., values between 0 and 1)

threshold

a vector giving the values for thresholding default is c(.05,.01,.001).

Value

pStared a vector of stars

Author(s)

Herve Abdi

Examples

## Not run: 
stars4p <- p2Star(aVectorOfPValues)

## End(Not run)


HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.