make_polyIRT_data {airt} | R Documentation |
This function converts continous performance data to polytomous data with 5 categories
make_polyIRT_data(df, method = 1)
df |
The input data in a dataframe or a matrix |
method |
If |
The polytomous data frame.
set.seed(1)
x1 <- runif(500)
x2 <- runif(500)
x3 <- runif(500)
x <- cbind(x1, x2, x3)
xout <- make_polyIRT_data(x)