Description Usage Arguments Value Examples
Extracts statistics of interest or effect sizes for a specified list of random-effects meta-analytical models
1 | get_stat_effsizes(list, stat)
|
list |
A list of meta-analytical models from which statistics is to be extracted. |
stat |
A character specifying what should be extracted from the fitted models. Possible are: LRT' for likelihood-ratio test statistics, 'RandStudy' for the random variance due to the study ID, 'RandPub' for the random variance due to the publication ID, 'globslope' for global effect sizes, 'globse' for the standard errors of global effect sizes. |
A dataframe with three columns: 'chi2_LR', 'df' and 'p_value' if the specified statistics is 'LRT' and a numeric vector of extracted random variances or effect sizes or standard errors otherwise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | nb_cores <- 2L
mod_T_prcs <- fit_all(data = dat_Clim,
temperature = TRUE, precipitation = FALSE,
phenology = TRUE, morphology = TRUE,
condition = '1', nb_cores = nb_cores,
rand_trait = FALSE, fixed = NULL, digit = 3)
mod_Sel_T_phen <- fit_all(data = dat_Sel,
temperature = TRUE, precipitation = FALSE,
phenology = TRUE, morphology = FALSE,
condition = '3', nb_cores = nb_cores,
rand_trait = FALSE, fixed = NULL, digit = 3)
mod_list <- list(mod_T_prcs, mod_Sel_T_phen)
test_LRT <- get_stat_effsizes(list = mod_list, stat = 'LRT')
test_LRT1 <- get_stat_effsizes(list = mod_list, stat = 'RandPub')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.