Rev Language Reference


mvVectorBinarySwitch

Usage

mvVectorBinarySwitch(Natural[] x, Probability p, Natural[] elements, Bool tune, RealPos weight, Probability tuneTarget)

Arguments

x : Natural[] (<deterministic> pass by reference)
The variable on which this move operates.
p : Probability (pass by reference)
The probability of applying the move to each element.
Default : 1
elements : Natural[] (pass by reference)
The indices of elements. All are used if this is empty.
Default : [ ]
tune : Bool (pass by value)
Should we tune the window size 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