merge_3slopes: Merges all three slopes by the respective data attributes

Description Usage Arguments Value Examples

Description

Merges all three slopes by the respective data attributes

Usage

1
merge_3slopes(meta_obj, meta_obj1, meta_obj2)

Arguments

meta_obj

A fitted meta-analytical model object.

meta_obj1

A fitted meta-analytical model object whose global slopes and per-study effect sizes will be displayed on the plot.

meta_obj2

An (optional) second fitted meta-analytical model object whose global slopes and per-study effect sizes will be displayed on the plot.

Value

A dataframe with the products of slopes from conditions 1 and 2 and slopes from condition 3.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run: 
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 = digit)
mod_phen_T_prcs <- fit_all(data = dat_Trait, temperature = TRUE,
                            precipitation = FALSE, phenology = TRUE,
                            morphology = FALSE, condition = '2',
                            nb_cores = nb_cores, rand_trait = FALSE,
                            fixed = NULL, digit = digit)
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 = digit)
test <- merge_3slopes(meta_obj = mod_T_prcs,
                      meta_obj1 = mod_phen_T_prcs,
                      meta_obj2 = mod_Sel_T_phen)

## End(Not run)

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