print.summary.simsum: print.summary.simsum

View source: R/print.summary.simsum.R

print.summary.simsumR Documentation

print.summary.simsum

Description

Print method for summary.simsum objects

Usage

## S3 method for class 'summary.simsum'
print(x, digits = 4, mcse = TRUE, ...)

Arguments

x

An object of class summary.simsum.

digits

Number of significant digits used for printing. Defaults to 4.

mcse

Should Monte Carlo standard errors be reported? If mcse = FALSE, confidence intervals based on Monte Carlo standard errors will be reported instead, see summary.simsum(). If a NULL value is passed, only point estimates are printed regardless of whether Monte Carlo standard errors were computed or not. Defaults to TRUE.

...

Ignored.

Examples

data("MIsim")
x <- simsum(
  data = MIsim, estvarname = "b", true = 0.5, se = "se",
  methodvar = "method"
)
xs <- summary(x)
xs

# Printing less significant digits:
print(xs, digits = 2)

# Printing confidence intervals:
print(xs, mcse = FALSE)

# Printing values only:
print(xs, mcse = NULL)

rsimsum documentation built on March 22, 2022, 5:08 p.m.