print.summary.multisimsum: print.summary.multisimsum

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

print.summary.multisimsumR Documentation

print.summary.multisimsum

Description

Print method for summary.multisimsum objects

Usage

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

Arguments

x

An object of class summary.multisimsum.

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.multisimsum(). 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(frailty)
ms <- multisimsum(
  data = frailty, par = "par", true = c(
    trt = -0.50,
    fv = 0.75
  ), estvarname = "b", se = "se", methodvar = "model",
  by = "fv_dist"
)
sms <- summary(ms, stats = c("bias", "cover", "mse"))
sms

# Printing less significant digits:
print(sms, digits = 3)

# Printing confidence intervals:
print(sms, digits = 3, mcse = FALSE)

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

rsimsum documentation built on May 29, 2024, 2:18 a.m.