Quality function for dataset using tifyverse functions

tidy_qual(df)

Arguments

df

a dataframe

Value

a data frame with the number of NA, NaN and infinite values per variables.

Examples

tidy_qual(iris)
#> # A tibble: 3 x 6 #> indic Sepal.Length Sepal.Width Petal.Length Petal.Width Species #> <chr> <int> <int> <int> <int> <int> #> 1 n_na 0 0 0 0 0 #> 2 n_nan 0 0 0 0 0 #> 3 n_inf 0 0 0 0 0