seqFreq function

seqFreq

seqFreq

Find Sequential Exclusions Due to NAs

seqFreq(..., labels = NULL, noneNA = FALSE)

Arguments

  • ...: any number of variables
  • labels: if specified variable labels will be used in place of variable names
  • noneNA: set to TRUE to not include 'none' as a level in the result

Returns

factor variable with obs.per.numcond attribute

Details

Finds the variable with the highest number of NAs. From the non-NAs on that variable find the next variable from those remaining with the highest number of NAs. Proceed in like fashion. The resulting variable summarizes sequential exclusions in a hierarchical fashion. See this for more information.

Author(s)

Frank Harrell