Find name of the response variableSource:
Returns the name(s) of the response variable(s) from a model object.
A fitted model.
TRUEand the response is a matrix-column, the name of the response matches the notation in formula, and would for instance also contain patterns like
"cbind(...)". Else, the original variable names from the matrix-column are returned. See 'Examples'.
Currently not used.
xis a joint model, this argument can be used to specify which component to return. Possible values are
The name(s) of the response variable(s) from
x as character
NULL if response variable could not be found.