mvFNPR - Fixed Node-height Prune and Regraft (FNPR) move.
| tree : | TimeTree (<stochastic> pass by reference) |
| The time-tree variable on which this move operates. | |
| 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 |
taxa <- v(taxon("A"), taxon("B"), taxon("C"), taxon("D"), taxon("E"), taxon("F"))
height ~ dnUniform(0, 10)
moves = VectorMoves()
# Simulate a simple TimeTree
tree ~ dnBDP(lambda=1.0, mu=0.2, rootAge=height, taxa=taxa)
# Assign it a mvFNPR move
moves.append( mvFNPR(tree, weight=taxa.size()) )