View source: R/gt_has_imputed.R
gt_has_imputed | R Documentation |
gen_tibble
has been imputedThis function checks if a dataset has been imputed. Note that having imputation does not mean that the imputed values are used.
gt_has_imputed(x)
x |
a |
boolean TRUE or FALSE depending on whether the dataset has been imputed
example_gt <- load_example_gt("gen_tbl")
# The initial gen_tibble contains no imputed values
example_gt %>% gt_has_imputed()
# Now impute the gen_tibble
example_gt <- example_gt %>% gt_impute_simple()
# And we can check it has been imputed
example_gt %>% gt_has_imputed()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.