prettyp: Return a p-value vector in nice format

Description Usage Arguments Details Value Examples

View source: R/prettyp.R

Description

prettyp Return a formatted version of pvalues with nice format.

Usage

1
prettyp(p, r = 3)

Arguments

p

A vector of numerical p-values

r

A numeric values that indicates the number of digits to round to

Details

It takes a p and return another one, but better.

Value

Return a formated p-value vector with rounded numbers and <0.001 instead of 0.00

Examples

1
prettyp(c(0.05,0.001,0.00001),3)

ClinReport documentation built on Sept. 3, 2019, 5:07 p.m.