CGGPplotvariogram: Plot something similar to a semivariogram

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
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

1
2
3
4
5
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)

CollinErickson/CGGP documentation built on May 14, 2021, 4:33 a.m.