mids_describe: Describe an imputed data set

Description Usage Arguments Value Note Author(s)

View source: R/mids_describe.r

Description

Describe complete case, missing and imputed via ucR::ucr.base.tab

Usage

1
2
mids_describe(object, x.names, file = "", ..., force.factor = NULL,
  factorize = TRUE, digits = 1, silent = TRUE)

Arguments

object

a mids object

x.names

character vector of variables of interest

file

file to write latex output to (empty string by default)

...

arguments passed to Hmisc::latex

force.factor

a character vector of variables to be forced into factors (e.g. event variables that are coded as 0/1)

factorize

force character vectors to be factors? (if FALSE these variables are removed)

digits

the number of digits (median and IQR for imputed variable description)

silent

hide message on removed variables?

Value

LaTeX code for descriptive table

Note

Currently this function utilizes the ucR::ucr.base.tab function with a certain parameters. It is unclear how easy it would be to allow the passing of arguments from mids_describe to this function...

Author(s)

Henrik Renlund


renlund/formids documentation built on May 27, 2019, 5:51 a.m.