View source: R/smdi_check_covar.R
smdi_check_covar | R Documentation |
This is a utility function to help check input data and covariates provided
smdi_check_covar(data = NULL, covar = NULL)
data |
dataframe or tibble object with partially observed/missing variables |
covar |
character covariate or covariate vector with partially observed variable/column name(s) to investigate. If NULL, the function automatically looks for and includes all columns with at least one missing observation |
returns the covariate vector for subsequent tasks or warnings/errors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.