#' @title number of internal nodes that have two children terminal nodes.
#' @export
w2=function(btree_obj){
x1=btree_obj$t_pos/2
in.node=floor(x1)
sum(duplicated(in.node))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.