I am running test_1.R (the first 48 lines, before #--- Generate item responses). I wanted to have different number of students, so I changed the value of nn (# number of students). When seed was 5656, after passing nn=85, for example, nn=86, 87, 100, or 1000, the sampling/iteration(?) failed (Error message was attached below). But when nn=88, 97, 98, or 99 work fine. After trying different seeds, however, the outcomes changed.
> #--- Assign booklets to subjects
subj_booklets <- booklet_sample(n_subj = nn, book_item_design = booklets)
Error in cbind(subject, book = subj_book) : object 'subj_book' not found
I am running test_1.R (the first 48 lines, before #--- Generate item responses). I wanted to have different number of students, so I changed the value of nn (# number of students). When seed was 5656, after passing nn=85, for example, nn=86, 87, 100, or 1000, the sampling/iteration(?) failed (Error message was attached below). But when nn=88, 97, 98, or 99 work fine. After trying different seeds, however, the outcomes changed.
> #--- Assign booklets to subjects