check_na_setting_against_data | R Documentation |
NA
in obs_opts() against input dataThis function checks the input data for implicit and/or explicit missingness
and checks if the user specified na = "missing"
in obs_opts()
.
If the two are TRUE, it throws a message about how the model treats
missingness and provides alternatives. It returns an unmodified obs_opts()
.
This function is necessary because the data and observation model do not currently interact internally. It will be deprecated in future versions when the data specification interface is enhanced.
check_na_setting_against_data(data, cols_to_check, obs)
data |
The raw data |
cols_to_check |
A character vector of the columns to check |
obs |
A call to |
obs_opts()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.