R/is_terminal.R

Defines functions is.terminal

Documented in is.terminal

#' @title Check if a node is a leaf node
#' @export

is.terminal<-function(kid_pos,t_pos){
  return((kid_pos %in% t_pos))
}
DongyueXie/bCART documentation built on Feb. 4, 2020, 12:26 a.m.