Rev Language Reference


mvElementSwapSimplex - Element Swap Simplex move

An Element Swap Simplex move selects two elements of a vector and exchanges their values.

Usage

mvElementSwapSimplex(Simplex x, Bool tune, RealPos weight, Probability tuneTarget)

Arguments

x : Simplex (<stochastic> pass by reference)
The variable this move operates on.
tune : Bool (pass by value)
Should we tune the concentration parameter during burnin?
Default : TRUE
weight : RealPos (pass by value)
The weight determines the relative frequency with which this move will be attempted. For details, see the description of the 'moveschedule' parameter on the documentation page for 'mcmc()'.
Default : 1
tuneTarget : Probability (pass by value)
The acceptance probability targeted by auto-tuning.
Default : 0.44

See Also