CGGPplotcorr {CGGP} | R Documentation |
Plot samples for a given correlation function and parameters. Useful for getting an idea of what the correlation parameters mean in terms of smoothness.
CGGPplotcorr(Corr = CGGP_internal_CorrMatGaussian, theta = NULL, numlines = 20, outdims = NULL, zero = TRUE)
Corr |
Correlation function or CGGP object. If CGGP object, it will make plots for thetaMAP, the max a posteriori theta. |
theta |
Parameters for Corr |
numlines |
Number of sample paths to draw |
outdims |
Which output dimensions should be used? |
zero |
Should the sample paths start at y=0? |
Plot
Other CGGP plot functions: CGGPplotblocks
,
CGGPplotheat
, CGGPplothist
,
CGGPplotsamplesneglogpost
,
CGGPplotslice
, CGGPplottheta
,
CGGPplotvariogram
,
CGGPvalplot
CGGPplotcorr() CGGPplotcorr(theta=c(-2,-1,0,1)) SG <- CGGPcreate(d=3, batchsize=100) f <- function(x){x[1]^1.2+sin(2*pi*x[2]*3)} y <- apply(SG$design, 1, f) SG <- CGGPfit(SG, Y=y) CGGPplotcorr(SG)