extract_effects: Extract the effect sizes and their standard errors from the...

Description Usage Arguments Value Examples

Description

extract_effects retrieves the effect size and SE for a specified study, for a given condition.

Usage

1
extract_effects(list_fit)

Arguments

list_fit

A fitted object returned by the function fit_cond_id.

Value

A dataframe with the id of the study, the estimated effect sizes and their SE, the estimated autocorrelation parameter and the results of the LRT. The dataframe also contains all the meta-data supplied via 'data' argument.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
dat_clim <- prepare_data(data = dat_Clim, temperature = TRUE,
                         precipitation = FALSE,
                         phenology = TRUE, morphology = TRUE)

fitted_mod <- fit_cond_id(data = dat_clim, id = '30', condition = '1')
test <- extract_effects(fitted_mod)


dat_sel_phen <- prepare_data(data = dat_Sel, temperature = TRUE,
                             precipitation = FALSE,
                             phenology = TRUE, morphology = FALSE)

test_sel_phen <- extract_effects(fit_cond_id(data = dat_sel_phen,
                                 id  = '1', condition = '3'))

dat_phen_prcs <- prepare_data(data = dat_Trait, temperature = TRUE,
                              precipitation = FALSE,
                              phenology = TRUE, morphology = FALSE)
mod_phen_abund <- fit_cond_id(data = dat_phen_prcs, id  = '1', condition = '2b')
test_tr_phen_abund <- extract_effects(mod_phen_abund)

radchukv/adRes documentation built on June 1, 2019, 7:05 p.m.