terms.bamlss {bamlss} | R Documentation |

## BAMLSS Model Terms

### Description

Extract `terms.object`

s for BAMLSS.

### Usage

```
## S3 method for class 'bamlss'
terms(x, specials = NULL, data = NULL,
model = NULL, pterms = TRUE, sterms = TRUE,
drop = TRUE, ...)
## S3 method for class 'bamlss.frame'
terms(x, specials = NULL, data = NULL,
model = NULL, pterms = TRUE, sterms = TRUE,
drop = TRUE, ...)
## S3 method for class 'bamlss.formula'
terms(x, specials = NULL, data = NULL,
model = NULL, pterms = TRUE, sterms = TRUE,
drop = TRUE, ...)
```

### Arguments

`x` |
An |

`specials` |
See |

`data` |
Data passed to |

`model` |
Character or integer, specifies the model for which terms should be returned. |

`pterms` |
Should parametric terms be part of the object? |

`sterms` |
Should smooth terms be part of the object? |

`drop` |
If terms for only one |

`...` |
Arguments passed to |

### Value

Object of class `"bamlss.terms"`

, a list of `terms.object`

s, depending on
the structure of the `bamlss.formula`

object.

### See Also

`bamlss`

, `bamlss.frame`

, `bamlss.formula`

.

### Examples

```
## Model formula.
f <- list(
num ~ x1 + x2 + id,
sigma ~ x3 + fac + lon + lat
)
## Create the terms object.
terms(bamlss.formula(f))
```

[Package

*bamlss*version 1.2-3 Index]