visdat (version 0.5.3)

expect_guide_label: (Internal) Label the legend with the percent of missing data

Description

miss_guide_label is an internal function to label the legend of vis_miss.

Usage

expect_guide_label(x)

Value

a tibble with two columns p_miss_lab and p_pres_lab, containing the labels to use for present and missing. A dataframe is returned because I think it is a good style habit compared to a list.

Arguments

x

is a dataframe passed from vis_miss(x).