print.NuggetKriging: Print a 'NuggetKriging' object

View source: R/NuggetKrigingClass.R

print.NuggetKrigingR Documentation

Print a NuggetKriging object

Description

Print the content of a NuggetKriging object.

Usage

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

Arguments

x

A (S3) NuggetKriging 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) + 0.1 * rnorm(nrow(X))

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

print(k)
## same thing
k

rlibkriging documentation built on Sept. 22, 2022, 5:07 p.m.