Learn R Programming

unga (version 0.1.0)

table_alt: A function to explore response alternatives in a data frame

Description

A function to explore response alternatives in a data frame

Usage

table_alt(x)

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

Run this code
# NOT RUN {
set.seed(123456)
gender<-round(runif(50,1,2))
variable_1<-round(runif(50,1,5))
variable_2<-round(runif(50,1,5))
variable_3<-round(runif(50,1,5))
df<-data.frame(gender,variable_1,variable_2,variable_3)
table_alt(df)
# }

Run the code above in your browser using DataLab