CGGPplotvariogram {CGGP}R Documentation

Plot something similar to a semivariogram

Description

It's not actually a variogram or semivariogram. It shows how the correlation function falls off as distance increases.

Usage

CGGPplotvariogram(CGGP, facet = 1, outdims = NULL)

Arguments

CGGP

CGGP object

facet

How should the plots be faceted? If 1, in a row, if 2, in a column, if 3, wrapped around.

outdims

Which output dimensions should be shown.

Value

ggplot2 object

See Also

Other CGGP plot functions: CGGPplotblocks(), CGGPplotcorr(), CGGPplotheat(), CGGPplothist(), CGGPplotsamplesneglogpost(), CGGPplotslice(), CGGPplottheta(), CGGPvalplot()

Examples

SG <- CGGPcreate(d=3, batchsize=100)
f <- function(x){x[1]^1.2+x[3]^.4*sin(2*pi*x[2]^2*3) + .1*exp(3*x[3])}
y <- apply(SG$design, 1, f)
SG <- CGGPfit(SG, Y=y)
CGGPplotvariogram(SG)

[Package CGGP version 1.0.4 Index]