powered by
This smooth constructor implements random bits model terms. Note that this is experimental.
## Linear smooth constructor. rb(..., k = 50)## For mgcv. # S3 method for randombits.smooth.spec smooth.construct(object, data, knots, ...)
## For mgcv. # S3 method for randombits.smooth.spec smooth.construct(object, data, knots, ...)
Function rb(), similar to function s a simple smooth specification object.
rb()
s
For function rb() a formula of the type ~x1+x2+x3 that specifies the covariates that should be modeled.
~x1+x2+x3
Integer, number of radnom bit columns in the design matrix.
See smooth.construct.
smooth.construct
bamlss, predict.bamlss, bfit, boost
bamlss
predict.bamlss
bfit
boost
if (FALSE) ## 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)
Run the code above in your browser using DataLab