# NOT RUN {
#Continuous data
sim.Norm <- sim.swn(25, 500, nei = 3)
#Ordinal data
sim.Likert <- sim.swn(25, 500, nei = 3, replace = TRUE, ordinal = TRUE, ordLevels = 5)
#Dichotomous data
sim.Binary <- sim.swn(25, 500, nei = 3, replace = TRUE, ordinal = TRUE, ordLevels = 2)
# }
Run the code above in your browser using DataLab