Logit {gnm} | R Documentation |
A function of class "nonlin"
to specify the logit
of a predictor in the formula argument to gnm
.
Logit(expression, inst = NULL)
expression |
a symbolic expression representing the (possibly nonlinear) predictor. |
inst |
(optional) an integer specifying the instance number of the term. |
The expression
argument is interpreted as the right hand side
of a formula in an object of class "formula"
, except that an
intercept term is not added by default. Any function of class
"nonlin"
may be used in addition to the usual operators and
functions.
A list with the components required of a "nonlin"
function:
predictors |
the expression argument passed to Logit |
term |
a function to create a deparsed mathematical expression of the term, given a label for the predictor. |
call |
the call to use as a prefix for parameter labels. |
Heather Turner