# NOT RUN {
obj <- GaussianGaussian(gamma=list(Sigma=matrix(c(2,1,1,2),2,2),m=c(0.2,0.5),S=diag(2)))
x <- rGaussian(100,c(0,0),Sigma = matrix(c(2,1,1,2),2,2))
dPosteriorPredictive(obj = obj,x=x,LOG = TRUE)
dPosteriorPredictive(obj = obj,x=x,LOG = FALSE)
# }
Run the code above in your browser using DataLab