CGGP (version 1.0.1)

CGGPplotsamplesneglogpost: Plot negative log posterior likelihood of samples

Description

Plot negative log posterior likelihood of samples

Usage

CGGPplotsamplesneglogpost(CGGP)

Arguments

CGGP

CGGP object

Value

ggplot2 object

See Also

Other CGGP plot functions: CGGPplotblocks, CGGPplotcorr, CGGPplotheat, CGGPplothist, CGGPplotslice, CGGPplottheta, CGGPplotvariogram, CGGPvalplot

Examples

Run this code
# NOT RUN {
gs <- 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(gs$design, 1, f)
gs <- CGGPfit(gs, Y=y)
CGGPplotsamplesneglogpost(gs)
# }

Run the code above in your browser using DataLab