In sjmisc / sjPlot r packages I've got a variable in which not all the values have 'value labels'. See example:
library ("sjmisc")
library ("sjPlot")
agreement <- sample (1:5, 40, replace = TRUE)
agreement <- set_labels(agreement, c(`1` = "Full agree",`5` = "Full disagree"))
When I ask for a frequency table some information is lost:
sjt.frq(agreement)
This is what you get:
data
value N raw % valid % cumulative %
Full agree 4 10.00 10.00 10.00
2 7 17.50 17.50 27.50
missings 0 0.00
total N=11 · valid N=11 · x̄=3.40 · σ=1.22
Any help? Thank you very much in advance