create_weight_df {lazy.irt} | R Documentation |
Create Weight Data Frame
create_weight_df(param, w = 1, vvec = NULL)
param |
Parameter data frame with which the weight data frame be associated. |
w |
Item weight vector, or a scalar. |
vvec |
Item category weight vector, or NULL |
Using the information in param, the natural item category weights will be generated.
The non NA values of the item category weights must be stored in vvec
.
The length of non NA item category weight of item i
is given by
param$ncat[i]
.
w
can be a scalar.
A list of
weight The weight data frame created.
minmax A vector containing the minimum and the maximum score of the test.
minmax_i A matrix containing the minimum and the maximum score of each item
before applying the item weight w
..
create_weight_df( paramS1 )
create_weight_df( paramS1, w=c(2,1,2,1) )
create_weight_df( paramS1, vvec=c(0,1, -1,1, 0,1,2,3, -2,2,4,6) )