NA.col.sums | R Documentation |
NA is treated as missing value.
NA.col.sums(data)
data |
must be dataframe or matrix |
sum of missing value by column
df = data.frame(x=rep(c(1,NA,2,NA,6,NA),10),
y=rep(c(1,NA,2),20))
NA.col.sums(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.