print.NoiseKriging {rlibkriging}R Documentation

Print the content of a NoiseKriging object.

Description

Print the content of a NoiseKriging object.

Usage

## S3 method for class 'NoiseKriging'
print(x, ...)

Arguments

x

A (S3) NoiseKriging Object.

...

Ignored.

Value

String of printed object.

Author(s)

Yann Richet yann.richet@irsn.fr

Examples

f <- function(x) 1 - 1 / 2 * (sin(12 * x) / (1 + x) + 2 * cos(7 * x) * x^5 + 0.7)
set.seed(123)
X <- as.matrix(runif(10))
y <- f(X) + X/10 * rnorm(nrow(X)) # add noise dep. on X

k <- NoiseKriging(y, noise=(X/10)^2, X, kernel = "matern3_2")

print(k)
## same thing
k

[Package rlibkriging version 0.8-0.1 Index]