## Not run:
#
# # simulate Rasch model based data
# # 100 persons, 20 items,
# # person parameter drawn from a normal distribution: N(0,1.5)
# # item parameters equally spaced between [-3, 3]
# simul.rasch(100, items = 20)
#
# # simulate Rasch model based data
# # 100 persons, 17 items
# # person parameter drawn from a uniform distribution: U[-4, 4]
# # item parameters: [-4.0, -3.5, -3.0, ... , 3.0, 3.5, 4.0]
# simul.rasch(runif(100, -4, 4), items = seq(-4, 4, by = 0.5))
# ## End(Not run)
Run the code above in your browser using DataLab