R/02.Prior.R

Defines functions prior.tree

#prior for tree
prior.tree=function(base,power,depth){ #alpha is base; beta is power
  base/((1+depth)^power)
}

Try the btrm package in your browser

Any scripts or data that you put into this service are public.

btrm documentation built on June 8, 2025, 12:45 p.m.