Learn R Programming

rdss (version 1.0.14)

make_se_entry: Format estimates and standard errors for nice printing

Description

Format estimates and standard errors for nice printing

Usage

make_se_entry(estimate, std.error, digits = 2)

Value

a character vector of formatted estimates and standard errors

Arguments

estimate

a numeric vector of parameter estimates

std.error

a numeric vector of standard error estimates

digits

number of digits to retain

Examples

Run this code

estimate <- c(0.07, 0.005, -4)
std.error <- c(0.12, 0.001, 1.2)

make_se_entry(estimate, std.error)

Run the code above in your browser using DataLab