response_name {bamlss} | R Documentation |
Extract the reponse name of a bamlss.frame
object.
Description
This is a small helper function to quickly extract the response name(s) of an object of
class "bamlss.frame"
or "bamlss"
.
Usage
response_name(object, ...)
Arguments
object |
An object of class |
... |
Not used. |
See Also
Examples
## Simulate some data.
d <- GAMart()
## Create a bamlss.frame.
bf <- bamlss.frame(num ~ s(x1) + s(x2) + s(x3), data = d)
## Extract the response name.
response_name(bf)
[Package bamlss version 1.2-4 Index]