rb

0th

Percentile

Random Bits for BAMLSS

This smooth constructor implements random bits model terms. Note that this is experimental.

Keywords
regression
Usage
## Linear smooth constructor.
rb(..., k = 50)

## For mgcv. # S3 method for randombits.smooth.spec smooth.construct(object, data, knots, ...)

Arguments

For function rb() a formula of the type ~x1+x2+x3 that specifies the covariates that should be modeled.

k

Integer, number of radnom bit columns in the design matrix.

object, data, knots

See smooth.construct.

Value

Function rb(), similar to function s a simple smooth specification object.

See Also

bamlss, predict.bamlss, bfit, boost

Aliases
  • rb
  • smooth.construct.randombits.smooth.spec
Examples
# NOT RUN {
## Simulate data.
set.seed(123)
d <- GAMart()

## Estimate model.
f <- num ~ rb(x1) + rb(x2) + rb(x3) + rb(~lon+lat)

b <- bamlss(f, data = d)

plot(b)
# }
Documentation reproduced from package bamlss, version 1.1-2, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.