# For simplicity, all examples use a 1-5 scale and a total N of 300.
# ---- With all values at the extremes
horns(freqs = c(300, 0, 0, 0, 0), scale_min = 1, scale_max = 5)
horns(c(150, 0, 0, 0, 150), 1, 5)
horns(c(100, 0, 0, 0, 200), 1, 5)
# ---- With some values in between
horns(c(60, 60, 60, 60, 60), 1, 5)
horns(c(200, 50, 30, 20, 0), 1, 5)
horns(c(150, 100, 50, 0, 0), 1, 5)
horns(c(100, 40, 20, 40, 100), 1, 5)
Run the code above in your browser using DataLab