arsenal (version 2.0.0)

paired.internal: Helper functions for paired

Description

A set of helper functions for paired.

Usage

na.paired(missings = c("in.both", "fill", "asis"))

Arguments

missings

A character string denoting which action to take. See "Details", below.

...

Other arguments, or a vector of indices for extracting.

Value

na.paired returns a function used to subset data.frames in paired.

Details

All methods subset out any NA time points or IDs. "in.both" (the default) subsets the data.frame to individuals who appear at both time points. "fill" adds explicit missings for the people missing second time points. "asis" does nothing to add or remove missings.

See Also

tableby.internal