smooth.construct.kr.smooth.spec

0th

Percentile

Kriging Smooth Constructor

This smooth constructor implements a kriging based model term.

Keywords
regression
Usage
# S3 method for kr.smooth.spec
smooth.construct(object, data, knots, ...)
# S3 method for kriging.smooth
Predict.matrix(object, data)
Arguments
object, data, knots

See smooth.construct.

Currently not used.

Details

This smooth constructor implements univariate and bivariate Kriging terms. The basis functions are based on the matern function. For finding knots, a space filling algorithm is used, see cover.design.

Value

A smooth specification object, see also smooth.construct.

References

Fahrmeir, L., Kneib, T. , Lang, S., Marx, B. (2013): Regression. Models, Methods and Applications, Springer Verlag. http://www.regressionbook.org/

See Also

bamlss, smooth.construct

Aliases
  • smooth.construct.kr.smooth.spec
  • Predict.matrix.kriging.smooth
Examples
# NOT RUN {
## Simulate data.
set.seed(123)
d <- GAMart()

## Estimate model.
f <- num ~ s(x1,bs="kr") + s(x2,bs="kr") + s(x3,bs="kr") + s(lon,lat,bs="kr",k=30)

## Set the seed, estimate model.
set.seed(111)
b <- bamlss(f, data = d)

## Plot estimated effects.
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.