Persentase data yang hilang di df r

# Apply on dataframe with missing values
sum(is.na(x))/prod(dim(x))
Trustworthy Whale