View source: R/gt_has_imputed.R
gt_uses_imputed | R Documentation |
gen_tibble
uses imputed dataThis function checks if a dataset uses imputed data. Note that it is possible to have a dataset that has been imputed but it is currently not using imputation.
gt_uses_imputed(x)
x |
a |
boolean TRUE or FALSE depending on whether the dataset is using the imputed values
example_gt <- load_example_gt("gen_tbl")
# Impute the gen_tibble
example_gt <- example_gt %>% gt_impute_simple()
# Check whether the gen_tibble uses imputed values
example_gt %>% gt_uses_imputed()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.