powered by
Adjust the sample values of an MCMC object using a function.
mcmc_map(.x, .f, .by = 1:npdims(.x), ...)
The updated MCMC object.
An MCMC object
The function to use
A positive integer vector of the dimensions to apply the function over.
Additional arguments passed to .f.
Other manipulate: mcmc_aperm()
mcmc_aperm()
mcmc_map(mcmcr_example$beta, exp)
Run the code above in your browser using DataLab