get_sglm_results: Extract the salient results from an stan_glmer model

Description Usage Arguments Value

View source: R/summarization.R

Description

Extract the salient results from an stan_glmer model

Usage

1
2
get_sglm_results(smod, tree, sds, justLeaves = FALSE, addFix = TRUE,
  main = "SEX", struct = "name")

Arguments

smod

The stan_glmer model

tree

The tree of interest

sds

SDs used in scaling leaf volumes

justLeaves

Whether or not to just extract effects at leaves

addFix

Whether to add the fixed effects before scaling

Value

A list containing

  1. fix The fixed effects of the model

  2. effects The estimated median effects in the model

  3. ranints The estimated random intercepts from the model

  4. b_post The effect posterior samples


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