| expand {RRMLRfMC} | R Documentation | 
expand
Description
This function is used to expand the Y(category) to a indicator vector
Usage
expand(pri, curr, I, refE)
Arguments
| pri | the prior state | 
| curr | the current state | 
| 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
[Package RRMLRfMC version 0.4.0 Index]