Usage

Arguments

lsm

object returned by lsmeans applied on a clm or clmm object.

type

type of output to be returned: "prob" (default) gives probability of each rating, "cumprob" gives cumulative probabilities (Pi is probability to be <= to rating i), "class1" gives the most probable rating and "class2" gives the first rating for which the cumulative probability is >= to level.

level

used only for type "class2" (see type).

Details

A factor named cut must have been called in lsmeans, to compute LSMeans per cut point (i.e. rating). Additionally, the argument mode of lsmeans must have been set to "linear.predictor". Finally, the call to lsmeans is typically like lsmeans(model,~factor|cut,mode="linear.predictor") where factor is the factor (or interaction) giving levels for which LSMeans have to be computed.