bamlss.frame
object.response_name.Rd
This is a small helper function to quickly extract the response name(s) of an object of
class "bamlss.frame"
or "bamlss"
.
response_name(object, ...)
An object of class "bamlss.frame"
or "bamlss"
.
Not used.
## 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)
#> [1] "num"