Provides formulas associated with the object of class 'msel'.
# S3 method for msel
formula(x, ..., type = "formula", eq = NULL)
Returns a formula or a list of formulas depending on eq
value.
object of class 'msel'.
further arguments (currently ignored).
character;
if type = "formula"
or type = 1
then function returns formulas
of the ordinal equations.
If type = "formula2"
or type = 2
then function returns formulas
of the continuous equations.
If type = "formula3"
or type = 3
then function returns formula
of the multinomial equation.
positive integer representing the index of the equation which
formula should be returned. If NULL
(default) then formulas for each
equation will be returned as a list which i
-th element associated
with i
-th equation.