p2character: Change p value to string

Description Usage Arguments Examples

View source: R/df2flextable.R

Description

Change p value to string

Usage

1
p2character(x, digits = 3)

Arguments

x

A numeric vector

digits

integer indicating the number of decimal places

Examples

1
2
3
x=c(0.000001,NA,0.1234567,0.00123,0.000123)
p2character(x)
p2character(x,digits=4)

rrtable documentation built on April 2, 2020, 5:09 p.m.