Learn R Programming

reportRx (version 1.0)

psthr: Round and paste with parentheses

Description

Round and paste with parentheses

Usage

psthr(x, y = 2)

Arguments

x
a numeic vector
y
integer corresponding to the number of digits to round by

Examples

Run this code
psthr(c(1.111111,2.2222222,3.333333))

Run the code above in your browser using DataLab