Learn R Programming

rsimsum (version 0.3.3)

miss: miss

Description

Obtain basic information on the proportion of missing data within the results of a simulation study.

Usage

miss(data, estvarname, se, par = NULL, methodvar = NULL, by = NULL)

Arguments

data

A data.frame in which variable names are interpreted. It has to be in tidy format, e.g. each variable forms a column and each observation forms a row.

estvarname

The name of the variable containing the point estimates.

se

The name of the variable containing the standard errors of the point estimates.

par

The name of the variable containing the different estimands from the simulation study. Can be NULL.

methodvar

The name of the variable containing the methods to compare. Can be NULL.

by

A vector of variable names to compute performance measures by a list of factors. Can be NULL.

Value

An object of class miss.

Examples

Run this code
# NOT RUN {
library(rsimsum)
data("frailty", package = "rsimsum")
miss(data = frailty, estvarname = "b", se = "se", par = "par",
       methodvar = "model", by = "fv_dist")
# }

Run the code above in your browser using DataLab