Learn R Programming

idem (version 5.2)

summary.IDEMDATA: Summary of IDEMDATA object

Description

Summarize the missing data information for class IDEMDATA objects generated by imData.

Usage

# S3 method for IDEMDATA
summary(object, opt = c("misstable", "missid", "trt"), endponly = FALSE, ...)

Value

A dataframe with frequencies of each missing pattern when opt is misstable.

A vector of indices of subjects that need imputation when opt is missid.

A vector of treatment arms in the data when opt is trt.

Arguments

object

A class IDEMDATA object returned by imData

opt

Types of the summarization

  • misstable: Summarize the frequencies of each missing pattern

  • missid: Summarize the indices of subjects that need imputation, i.e. survivors with functional endpoint missing

  • trt: Treatment arms

endponly

Logical variable that indicates whether clinical outcomes not used in calculating the functional outcome are considered as missing and should be imputed. The default is FALSE, indicating that all missing clinical outcomes will be imputed sequentially

...

Extra arguments

See Also

imData