.warn_if_mismatched_contrasts {contrastable} | R Documentation |
Diagnose glimpse issues and send warnings
Description
glimpse_contrasts()
does not modify the dataframe passed to it, which can
result in mismatches between the data the user will use and the glimpse
information presented. This runs many diagnostics to inform the use of such
mismatches and provides suggestions on how to fix the issue.
Usage
.warn_if_mismatched_contrasts(
model_data,
contrast_list,
model_data_name,
dots_names,
formulas
)
Arguments
model_data |
Data user passed to |
contrast_list |
List of contrasts created by |
model_data_name |
Name of the dataframe passed to the user, will be truncated if it's a long expression that has (likely) been piped |
dots_names |
Usually "...", in this case, the |
formulas |
Formulas passed by the user |
Value
Nothing, issues warnings to the user.
[Package contrastable version 1.0.2 Index]