table_non_resp_2: A function that return absolute vaules of missing values in a...

Description Usage Arguments Value References Examples

View source: R/table_unga.R

Description

A function that return absolute vaules of missing values in a data frame

Usage

1

Arguments

x

a data frame

Value

the output from return

References

Norman M. Bradburn et al. 2004. Asking questions. 2nd revised edition. John Wiley & Sons

Examples

1
2
3
4
5
6
7
set.seed(123456)
gender<-round(runif(50,1,2))
variable_1<-sample(c(1,2,3,4,5,6,NA),50,replace = TRUE)
variable_2<-sample(c(1,2,3,4,5,6,NA),50,replace = TRUE)
variable_3<-sample(c(1,2,3,4,5,6,NA),50,replace = TRUE)
df<-data.frame(gender,variable_1,variable_2,variable_3)
table_non_resp_2(df)

unga documentation built on Aug. 31, 2020, 5:07 p.m.