print.Kriging: Print the content of a 'Kriging' object.

View source: R/KrigingClass.R

print.KrigingR Documentation

Print the content of a Kriging object.

Description

Print the content of a Kriging object.

Usage

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

Arguments

x

A (S3) Kriging 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)

k <- Kriging(y, X, "matern3_2")

print(k)
## same thing
k

rlibkriging documentation built on Oct. 3, 2024, 1:06 a.m.