Hi to everyone my question is about the use of this parameter.
A quick example:
x <- c(1,1,1,1,2,2,2,2,1,1,1,1,1,2,2)
for this example 1 = yes and 2 = No, then:
sjt.frq(x,
value.labels = c("yes","no"))
But the result is not showing me the labels.
I try this other method:
lab <- c("Si" = 1,
"No" = 2)
sjt.frq(x,
value.labels = lab)
with no success
I know I can use this workaround:
library(sjmisc)
sjt.frq(add_labels(x,value = lab))
But I want to figure out how to use sjt.frq with value.labels