block_design()
for non-sequential items (issue #50)?lsasim
)item_gen()
(issue #48)class()
on if-statementscluster_gen
, a function to generate background questionnaires (with questionnaire_gen
) in a cluster sampling structure.irt_gen
when the guessing parameter is larger than zero (issue #40)item_gen()
to produce out-of-bounds item difficulties in some situations.if (class(x) == "matrix"
statements are written. Specifically, such statements were changed to if(class(x))[1] == "matrix"
to accommodate for cases where x
may be a matrix with complex classes such as "matrix" "array"
.This release adds several features to the questionnaire_gen
function, such as:
theta
as a linear function of the background questionnaire items.Please read the function’s help file for more details on how to access these new features.
Note: any R code written for the questionnaire_gen
function from previous versions of lsasim may not work properly on this version due to the rearrangement of the function’s arguments and slight changes in its default behavior. Please review your code before executing old scripts.
cov_bounds
to cor_gen
.d1
from the returned data frame of item_gen
when thresholds = 1
.item_no
to response_gen
.response_gen
can now handle item subsets.