View source: R/util_all_intro_vars_for_rv.R
| util_all_intro_vars_for_rv | R Documentation |
PART_VARS for a response variable (from item-level metadata)Get all PART_VARS for a response variable (from item-level metadata)
util_all_intro_vars_for_rv(
rv,
study_data,
meta_data,
label_col = LABEL,
expected_observations = c("HIERARCHY", "ALL", "SEGMENT")
)
rv |
character the response variable's name |
study_data |
study_data |
meta_data |
meta_data |
label_col |
character the metadata attribute to map |
expected_observations |
enum HIERARCHY | ALL | SEGMENT. How should
|
character all PART_VARS for rv from item level metadata.
For expected_observations = HIERARCHY, the more general PART_VARS
(i.e., up, in the hierarchy) are more left in the vector, e.g.:
PART_STUDY, PART_PHYSICAL_EXAMINATIONS, PART_BLOODPRESSURE
Other missing_functions:
util_count_expected_observations(),
util_filter_missing_list_table_for_rv(),
util_get_code_list(),
util_is_na_0_empty_or_false(),
util_observation_expected(),
util_remove_empty_rows(),
util_replace_codes_by_NA()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.