rb | R Documentation |
This smooth constructor implements random bits model terms. Note that this is experimental.
## Linear smooth constructor.
rb(..., k = 50)
## For mgcv.
## S3 method for class 'randombits.smooth.spec'
smooth.construct(object, data, knots, ...)
... |
For function |
k |
Integer, number of radnom bit columns in the design matrix. |
object , data , knots |
See |
Function rb()
, similar to function s
a simple smooth specification
object.
bamlss
, predict.bamlss
, bfit
, boost
## 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.