paired.internal {arsenal} | R Documentation |
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. |
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.
Value
na.paired
returns a function used to subset data.frames in paired
.
See Also
[Package arsenal version 3.6.3 Index]