# If a non-Likert scale ranges from 0 to 3
# and measures 16 cases:
grim_granularity(n = 16) # `items = 1` by default
# Same but Likert scale with 2 items:
grim_granularity(n = 16, items = 2)
# If a scale is applied to a single case
# and has a granularity of 0.5:
grim_items(n = 1, gran = 0.5)
# With more cases, a warning appears
# because items can only be whole numbers:
grim_items(n = c(10, 15, 20), gran = 0.5)
Run the code above in your browser using DataLab