bg <- baggr(dplyr::mutate(schools, mu = rnorm(8), se.mu = rep(.5, 1)) %>% dplyr::rename(se.tau = se), model = "mutau")
When printing bg I want to see a separate line that would tell me what is the correlation between mu and tau (mean and 95% interval), the same way it tells me what hypermean and hyper-SD are. This can be obtained from bg$fit, but I'm forgetting which elements I need to extract right now.
Consider
When printing
bg
I want to see a separate line that would tell me what is the correlation betweenmu
andtau
(mean and 95% interval), the same way it tells me what hypermean and hyper-SD are. This can be obtained frombg$fit
, but I'm forgetting which elements I need to extract right now.