Learn R Programming

rdss (version 1.0.14)

add_parens: Add parentheses around standard error estimates

Description

Add parentheses around standard error estimates

Usage

add_parens(x, digits = 3)

Value

A character vector with enclosing parentheses

Arguments

x

Numeric vector

digits

Number of digits to retain

Examples

Run this code

std.error <- c(0.12, 0.001, 1.2)
add_parens(std.error)

Run the code above in your browser using DataLab