Description Usage Arguments Details Value Author(s) Examples
Function to run automated-factor slice sampling
1 2 | getSliceSamples(LL, x0, nBurnin = 10 * 1024, nSample = 10000,
verbose = FALSE, useFactor = TRUE, useTrueFactors = FALSE)
|
LL |
the loglikelihood function |
x0 |
a vector specifying the start for the chain |
todo: more about provenance and optional arguments...
a matrix with columns as parameters and rows as post-burnin samples
Pete Dodd
1 2 3 | rosen <- function(x) -(1-x[1])^2 - 100*(x[2] - x[1]^2)^2
runss <- getSliceSamples(LL=arosen,x0=c(0,0),useFactor=TRUE)
corplot(runss)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.