util_observation_expected {dataquieR} | R Documentation |
Detect Expected Observations
Description
For each participant, check, if an observation was expected, given the
PART_VARS
from item-level metadata
Usage
util_observation_expected(
rv,
study_data,
meta_data,
label_col = LABEL,
expected_observations = c("HIERARCHY", "ALL", "SEGMENT")
)
Arguments
rv |
character the response variable, for that a value may be expected |
study_data |
|
meta_data |
|
label_col |
character mapping attribute |
expected_observations |
enum HIERARCHY | ALL | SEGMENT. How should
|
Value
a vector with TRUE
or FALSE
for each row of study_data
, if for
study_data[rv]
a value is expected.
See Also
Other missing_functions:
util_all_intro_vars_for_rv()
,
util_count_expected_observations()
,
util_filter_missing_list_table_for_rv()
,
util_get_code_list()
,
util_is_na_0_empty_or_false()
,
util_remove_empty_rows()
,
util_replace_codes_by_NA()