nas_c: Proportion NA in data.frame by column

Description Usage Arguments Author(s) Examples

Description

Calculates proportion of NA values by column in a data.frame

Usage

1
nas_c(x)

Arguments

x

a data.frame

Author(s)

Johan Junkka johan.junkka@gmail.com

Examples

1
2
3
4
5
6
x <- data.frame(
  'a' = c(1:180, rep(NA, 20)), 
  'b' = c(1:160, rep(NA, 40)), 
  'c' = c(1:200)
)
nas_c(x)

junkka/r-custom documentation built on May 20, 2019, 4:24 a.m.