Description
This function is used to expand the Y(category) to a indicator vector
Usage
expand(pri, curr, I, refE)
Arguments
I
a U by U incidence matrix with elements; I(i,j)=1 if state j can be
accessed from state i in one step and 0 otherwise
refE
a vector with the reference categories
Value
ry: a indicator vector