View source: R/deprecated-get_data.R
get_data | R Documentation |
Extract data slots from an object of class simsum
, summary.simsum
, multisimsum
, or summary.multisimsum
.
get_data(x, stats = NULL, ...)
x |
An object of class |
stats |
Summary statistics to include; can be a scalar value or a vector. Possible choices are:
|
... |
Ignored. |
A data.frame
containing summary statistics from a simulation study.
data(MIsim)
x <- simsum(
data = MIsim, estvarname = "b", true = 0.5, se = "se",
methodvar = "method"
)
get_data(x)
# Extracting only bias and coverage:
get_data(x, stats = c("bias", "cover"))
xs <- summary(x)
get_data(xs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.