StopCon: StopCon

Description Usage Arguments Value

Description

#' This function computes the U-Turn stopping condition, which is used in NUTS and BuildTree functions

Usage

1
StopCon(theta.minus, theta.plus, r.minus, r.plus)

Arguments

theta.minus

the leftmost position of a subtree

theta.plus

the rightmost position of a subtree

r.minus

the leftmost momentum of a subtree

r.plus

the leftmost position of a subtree

Value

1 if the stopping criterion is met by the subtree; 0 if the stopping criterion is not by the subtree


jodie0399/NUTS documentation built on May 29, 2019, 1:06 a.m.