R: Extract the reponse name of a 'bamlss.frame' object.

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 `"bamlss.frame"` or `"bamlss"`.
`...` | Not used.

### See Also

`bamlss`, `bamlss.frame`

### 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.1-7 Index]