Convert a vector of category weights to weight data frame
weight.df(param, ws)
param
Item parameter data frame
ws
A vector of category weights