Generate a CAT pattern given various inputs. Returns a character vector or numeric matrix
(depending on whether a df input was supplied) with columns equal to the test size and
rows equal to the number of rows in Theta. For simulation studies, supplying a
Theta input with more than 1 row will generate a matrix of responses for
running independent CAT session when passed to mirtCAT(..., local_pattern).
Usage
generate_pattern(mo, Theta, df = NULL)
Arguments
mo
single group object defined by the mirt package
Theta
a numeric vector indicating the latent theta values for a single person
df
(optional) data.frame object containing questions, options, and scoring
keys. See mirtCAT for details