test_inconsistencies | R Documentation |
Test the inconsistencies between variables on a dataset
test_inconsistencies(data, variable1, variable2, relation)
data |
data to be tested. |
variable1 |
The variable to be tested. |
variable2 |
The variable to be tested. |
relation |
String such as 'greater_than', 'greater_than_or_equal' 'lower_than_or_equal' and 'lower_than'. |
A data frame containing all the findings regarding the applied test.
test_inconsistencies(als_data, 'baseline_date', 'death_date', relation = 'lower_than') test_inconsistencies(als_data, 'age_at_baseline', 'age_at_onset', relation = 'greater_than')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.