ordFacReg
and ordFacRegCox
.
prepareData(Z, fact = NA, ordfact, ordering = NA, intercept = TRUE)
ordfact
. Specifies ordering of ordered factors: "i"
means
that the coefficients of the corresponding ordered factor are estimated in non-decreasing order and "d"
means
non-increasing order. See the examples in ordFacReg
for details.TRUE
, an intercept (= column of all 1's) is added to the design matrix.ordFacReg
and ordFacRegCox
.