powered by
Method for declaring a Bayesian prior density in lgcp. Checks to confirm that the object obj has the requisite components for functioning as a prior.
# S3 method for list PriorSpec(obj, ...)
a list object defining a prior , see ?GaussianPrior and ?LogGaussianPrior
additional arguments
an object suitable for use in a call to the MCMC routines
GaussianPrior, LogGaussianPrior
# NOT RUN { PriorSpec(LogGaussianPrior(mean=log(c(1,500)),variance=diag(0.15,2))) # } # NOT RUN { PriorSpec(GaussianPrior(mean=rep(0,9),variance=diag(10^6,9))) # }
Run the code above in your browser using DataLab