From dc13254280de5b0bf6d8ec5fbf5b7765328cbf6a Mon Sep 17 00:00:00 2001 From: egouldo Date: Mon, 29 Jul 2024 20:45:45 +1000 Subject: [PATCH] #40 need to group_by collinearity subset so blue tit `effects_analysis` data is lumped together. --- R/meta_analyse_datasets.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/meta_analyse_datasets.R b/R/meta_analyse_datasets.R index 1c83527..fbbfeb5 100644 --- a/R/meta_analyse_datasets.R +++ b/R/meta_analyse_datasets.R @@ -35,7 +35,7 @@ meta_analyse_datasets <- function(MA_data){ # Must group by cols else multiple "effects_analysis" elements # get passed to fit_MA_mv() MA_data <- MA_data %>% - group_by(estimate_type, dataset, exclusion_set, publishable_subset, expertise_subset) + group_by(estimate_type, dataset, exclusion_set, publishable_subset, expertise_subset, collinearity_subset) } else { MA_data <- MA_data %>% group_by(estimate_type, dataset, exclusion_set)