bamlss (version 1.1-2)

response_name: 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 "bamlss.frame" or "bamlss".

Not used.

See Also

bamlss, bamlss.frame

Examples

Run this code
# NOT RUN {
## 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)
# }

Run the code above in your browser using DataLab