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()
Run the code above in your browser using DataLab