Learn R Programming

rsimsum (version 0.3.1)

dropbig.simsum: Return observations dropped by simsum

Description

dropbig.simsum returns observations dropped by simsum while computing summary statistics for a simulation study.

Usage

# S3 method for simsum
dropbig(x, ...)

Arguments

x

An object of class simsum.

...

Ignored.

Value

An object of class dropbig.simsum if dropbig was set to TRUE when calling simsum, NULL otherwise. It contains two slots: big_estvarname and big_se. Both slots consist in the portion of the original data that was identified to have estimated values or standard errors exceeding the limits defined by max and semax.

See Also

simsum(), print.dropbig.simsum()

Examples

Run this code
# NOT RUN {
data("MIsim")
x <- simsum(data = MIsim, estvarname = "b", true = 0.5, se = "se",
            methodvar = "method", mcse = TRUE,
dropbig = TRUE, max = 3, semax = 1.5)
d <- dropbig(x)
d
# }

Run the code above in your browser using DataLab