How do I create a frequency table with empty categories in R?

前端 未结 0 1732
不知归路
不知归路 2021-01-21 01:51

I have a table with responses to multiple items in a survey. (e.g. 1 = disagree and 7 agree)

var1 <- c(2, 2, 4, 1, 5, 3, 4, 6, 7, 7, 6)
var2 <- c(3, 4, 5, 1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题