identify_NM_vars: Identify vars recording not-missing (NM) info

View source: R/Design.R

identify_NM_varsR Documentation

Identify vars recording not-missing (NM) info

Description

ID variables recording NM information, from names and positions in the variable list. Presumption is that the NM cols appear at the end of the list of vars and are encased in ‘()’. If something in the code changes to make this assumption untrue, then this helper is designed to err on the side of not identifying other columns as NM cols.

Usage

identify_NM_vars(vnames)

Arguments

vnames

character, variable names

Value

character vector of names of NM vars, possibly of length 0

Author(s)

Hansen


markmfredrickson/RItools documentation built on Jan. 15, 2024, 10:53 p.m.