ClinReport (version 0.9.1.1)

prettyp: Return a p-value vector in nice format

Description

prettyp Return a formated version of pvalues with nice format.

Usage

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

Value

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

Details

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

Examples

Run this code
# NOT RUN {
prettyp(c(0.05,0.001,0.00001),3)

# }

Run the code above in your browser using DataCamp Workspace