p2character: Change p value to string

View source: R/df2flextable.R

p2characterR Documentation

Change p value to string

Description

Change p value to string

Usage

p2character(x, digits = 3)

Arguments

x

A numeric vector

digits

integer indicating the number of decimal places

Examples

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

cardiomoon/rrtable documentation built on March 14, 2023, 10:39 p.m.