compute_differences: Compute the difference in beta between parent and child

Description Usage Arguments Value

Description

Add the posterior for the estimated effects back to a tree then compute the difference between parent and child.

Usage

1
compute_differences(results, tree)

Arguments

results

The result object of interest, must have b_post and fix elements.

tree

The hierarchy tree of interest

Value

tree modified with extra node attributes b_post and b_diff


cfhammill/hierarchyTrees documentation built on Feb. 8, 2020, 2:54 a.m.