Learn R Programming

bruceR (version 0.6.0)

p.trans: Transform p value.

Description

Transform p value.

Usage

p.trans(p, nsmall.p = 3)

Arguments

p

p value.

nsmall.p

Number of decimal places of p value. Default is 3.

Value

A character string of transformed p value.

See Also

p.trans2

Examples

Run this code
# NOT RUN {
p.trans(c(1, 0.1, 0.05, 0.01, 0.001, 0.0001, 0.0000001, 1e-50)) %>% data.table(p=.)

# }

Run the code above in your browser using DataLab