Nothing
children <- function(i, dt){# number of children of node i
#####################################################################
# i: ordinal number of nodes #
# dt: array of left child #
#####################################################################
if(dt[i]==0) return(0)
else {
# recursive
return(children(dt[i]+1, dt)+children(dt[i]+2, dt)+2)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.