percent of missing data in df r code example Example: percent of missing data in df r # Apply on dataframe with missing values sum(is.na(x))/prod(dim(x))