# NOT RUN {
library(psycho)
df <- psycho::affective
newdata <- refdata(df, target = "Sex")
newdata <- refdata(df, target = "Sex", factors = "combinations")
newdata <- refdata(df, target = c("Sex", "Salary", "Tolerating"), length.out = 3)
newdata <- refdata(df, target = c("Sex", "Salary", "Tolerating"), numerics = 0)
# }
Run the code above in your browser using DataLab