assert_ds_is_valid | R Documentation |
assert_ds_is_valid() is an Assert function that validates that an object conforms to required condition(s). If the object does not meet all required conditions, program execution will be stopped and an error message provided. Specifically, this function implements an algorithm to assert dataset is valid. The function is called for its side effects and does not return a value.
assert_ds_is_valid(
data_tb,
id_var_nm_1L_chr,
round_var_nm_1L_chr,
round_bl_val_1L_chr,
msrmnt_date_var_nm_1L_chr = NULL
)
data_tb |
Data (a tibble) |
id_var_nm_1L_chr |
Identity variable name (a character vector of length one) |
round_var_nm_1L_chr |
Round variable name (a character vector of length one) |
round_bl_val_1L_chr |
Round baseline value (a character vector of length one) |
msrmnt_date_var_nm_1L_chr |
Measurement date variable name (a character vector of length one), Default: NULL |
No return value, called for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.