representCategoricalData

Function to find the number and percentages of categories

Function to find the number and percentages of categories

Usage
representCategoricalData(data, variable, nrcode = NA)
Arguments
data,

a data frame

variable

the column name

nrcode

non response code

Value

number and percentages or -1 if failure

Aliases
  • representCategoricalData
Examples
# NOT RUN {
representCategoricalData(data.frame(mark=c(0,11,78,160),gender=c("f","m","f","m")),"gender",NA)
# }
Documentation reproduced from package IPDFileCheck, version 0.3.0, License: CC0

Community examples

Looks like there are no examples yet.