pval2star: Transform P-values to stars

Description Usage Arguments Details Value Examples

View source: R/littlehelpers.R

Description

Transform P-values to stars

Usage

1

Arguments

x

A matrix of P-values

Details

Use stars as simplification of P-values

Value

A character matrix of same dimension and names as x with stars instead of P-values.

Examples

1
2
x <- matrix( runif(25), nrow=5, dimnames=list(LETTERS[1:5], letters[1:5]) )
pval2star(x)

Example output

geecc
 1.10.0 loaded

  a   b  c  d  e 
A "." "" "" "" ""
B ""  "" "" "" ""
C ""  "" "" "" ""
D ""  "" "" "" ""
E ""  "" "" "" ""

geecc documentation built on April 28, 2020, 8:19 p.m.