show.km: Print values of a km object

Description Usage Arguments Author(s) See Also Examples

View source: R/show.km.R

Description

Show method for km object. Printing the main features of a kriging model.

Usage

1
2
   ## S4 method for signature 'km'
show(object)

Arguments

object

an object of class km.

Author(s)

O. Roustant, D. Ginsbourger, Ecole des Mines de St-Etienne.

See Also

km

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
# A 2D example - Branin-Hoo function

# a 16-points factorial design, and the corresponding response
d <- 2; n <- 16
fact.design <- expand.grid(seq(0,1,length=4), seq(0,1,length=4))
fact.design <- data.frame(fact.design); names(fact.design)<-c("x1", "x2")
branin.resp <- data.frame(branin(fact.design)); names(branin.resp) <- "y" 

# kriging model 1 : power-exponential covariance structure, no trend, 
#                   no nugget effect
m1 <- km(y~1, design=fact.design, response=branin.resp, covtype="powexp")
m1    # equivalently : show(m1)

DiceKriging documentation built on Feb. 24, 2021, 1:07 a.m.