Print the complete cases of the data.

md_complete_cases(data, digits = 1)

Arguments

data

The data frame.

digits

Default: 1. number of digits for rounding.

Value

Message with the number of rows, number of rows with missing values and the percentage of complete rows.

Examples

# example code
md_complete_cases(iris)
#> Number of rows in the data: 150
#> Number of rows without missing values: 150
#> Percentage complete rows: 100%

iris$Sepal.Length[5] <- NA_character_
md_complete_cases(iris)
#> Number of rows in the data: 150
#> Number of rows without missing values: 149
#> Percentage complete rows: 99.3%