formula.mvoprobit {switchSelection}R Documentation

Formulas of mvoprobit model.

Description

Provides formulas associated with the object of class 'mvoprobit'.

Usage

## S3 method for class 'mvoprobit'
formula(x, ..., type = "formula", eq = NULL)

Arguments

x

object of class 'mvoprobit'.

...

further arguments (currently ignored).

type

character; if type = "formula" or type = 1 then function returns formulas of ordered equations. If type = "formula2" or type = 2 then function returns formulas of continuous equations.

eq

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.

Value

Returns a formula or a list of formulas depending on eq value.


[Package switchSelection version 1.1.2 Index]