View source: R/print.summary.multisimsum.R
print.summary.multisimsum | R Documentation |
Print method for summary.multisimsum
objects
## S3 method for class 'summary.multisimsum'
print(x, digits = 4, mcse = TRUE, ...)
x |
An object of class |
digits |
Number of significant digits used for printing. Defaults to 4. |
mcse |
Should Monte Carlo standard errors be reported?
If |
... |
Ignored. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.