Skip to contents

Removes top outlier for yi datasets and top 2 and bottom 2 outliers for Zr datasets

Usage

generate_outlier_subsets(
  data,
  outcome_variable = NULL,
  n_min = NULL,
  n_max = NULL,
  ignore_subsets = NULL
)

Arguments

data

a ManyEcoEvo dataframe containing formatted raw data, formatted diversity_data, the estimate_type, and dataset

outcome_variable

A named list containing either/and a list of datasets and their corresponding outcome variables for each value of dataset, a list of estimate_types and their corresponding outcome variables for each value of estimate_type.

n_min

integer, the number of bottom outliers to remove

n_max

integer, the number of top outliers to remove

ignore_subsets

A list of <data-masked> expressions passed to dplyr::filter() for ignoring specific data subsets when removing outliers

Value

A ManyEcoEvo dataframe with added column exclusion_set with new subsets of data, diversity_data that exclude outliers.

Details

Function Usage

n_min and n_max are used to specify the number of outliers to remove from the bottom and top of the dataset, respectively. These arguments are passed to the n argument within dplyr::slice_min() and slice_max() respectively. Note that negative values of n_min and n_max will be removed from the dataset, while positive values of n will retain observations in the dataframe.

ignore_subsets is used to specify which subsets of the data should be ignored when removing outliers. This is useful when you want to remove outliers from all datasets except for specific subsets. For example, if you want to remove outliers from all datasets except for the eucalyptus dataset, you would pass ignore_subsets = dataset == "eucalyptus".

The function will check that any columns specified in ignore_subsets exist in the dataset using pointblank::test_col_exists(). If they do not, the function will throw an error.

Analysis Pipeline Usage

This function ahould be run after computing response variables for yi datasets with generate_yi_subsets() and Zr datasets with generate_Zr_subsets(), but it may also be executed on the raw data to remove the top n_max and bottom n_min observations.

Note that outcome_variable

#TODO: will nolonger work on Zr dataset, because this doesn't contain an estimate_type col?

collinearity_subset != "collinearity_removed" for Zr datasets and Don't run with the reduced publishability subset.... some of these already only have 10 data points!!

Examples


analysis_data <-  ManyEcoEvo_yi %>%
prepare_response_variables(
estimate_type = "yi",
param_table = ManyEcoEvo:::analysis_data_param_tables,
dataset_standardise = "blue tit",
dataset_log_transform = "eucalyptus") %>%
generate_yi_subsets() %>% #TODO: must be run after prepare_response_variables??
apply_VZ_exclusions(
VZ_colname = list("eucalyptus" = "se_log",
"blue tit" = "VZ"),
VZ_cutoff = 3) %>% 
generate_exclusion_subsets() %>% 
compute_MA_inputs()
#> 
#> ── Computing Sorensen diversity indices inputs ─────────────────────────────────
#> 
#> ── Applying exclusion rules and generating exclusion subsets ───────────────────
#> 
#> ── Generating out-of-sample prediction subsets. ────────────────────────────────
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  Applied back-transformation for squared effect sizes or out-of-sample predictions.
#>  Applied back-transformation for squared effect sizes or out-of-sample predictions.
#>  Applied back-transformation for squared effect sizes or out-of-sample predictions.
#>  Applied back-transformation for squared effect sizes or out-of-sample predictions.
#>  Applied back-transformation for squared effect sizes or out-of-sample predictions.
#>  Applied back-transformation for squared effect sizes or out-of-sample predictions.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  Applied back-transformation for ^100 effect sizes or out of sample predictions.
#>  Applied back-transformation for cubed effect sizes
#>  Applied back-transformation for ^100 effect sizes or out of sample predictions.
#>  Applied back-transformation for cubed effect sizes
#>  Applied back-transformation for ^100 effect sizes or out of sample predictions.
#>  Applied back-transformation for cubed effect sizes
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  Applied back-transformation for ^14 effect sizes or out of sample predictions.
#>  Applied back-transformation for ^14 effect sizes or out of sample predictions.
#>  Applied back-transformation for ^14 effect sizes or out of sample predictions.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  No back-transformation required, identity link used.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for logit-transformed effect sizes or out-of-sample predictions
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for square-root transformed effect sizes or out-of-sample predictions.
#>  Applied back-transformation for square-root transformed effect sizes or out-of-sample predictions.
#>  Applied back-transformation for square-root transformed effect sizes or out-of-sample predictions.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Applied back-transformation for log-transformed effect sizes or out-of-sample predictions, using 10000 simulations.
#>  Standardising and/or log-transforming response variables for "yi" estimates.
#> 
#> ── Computing meta-analysis inputsfor `estimate_type` = "yi" ────────────────────
#> 
#> ── Standardising out-of-sample predictions ──
#> 
#> ── Computing meta-analysis inputs: ─────────────────────────────────────────────
#> 
#> ── Log-transforming response-variable ──
#> 
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#>  Log-transformed out-of-sample predictions, using 10000 simulations.
#> 
#> ── Applying VZ exclusions ──────────────────────────────────────────────────────
#> ! `VZ_cutoff` = 3 was recycled to match the number of unique datasets in `df`.
#> 
#> ── Excluding extreme values of VZ ──
#> 
#> → 0 extreme values of `VZ` removed at threshold of 3 for `dataset` "blue tit", `estimate_type` = "y25".
#> 
#> ── Excluding extreme values of VZ ──
#> 
#> → 0 extreme values of `VZ` removed at threshold of 3 for `dataset` "blue tit", `estimate_type` = "y25".
#> 
#> ── Excluding extreme values of VZ ──
#> 
#> → 0 extreme values of `VZ` removed at threshold of 3 for `dataset` "blue tit", `estimate_type` = "y25".
#> 
#> ── Excluding extreme values of VZ ──
#> 
#> → 0 extreme values of `se_log` removed at threshold of 3 for `dataset` "blue tit", `estimate_type` = "y25".
#> 
#> ── Excluding extreme values of VZ ──
#> 
#> → 0 extreme values of `se_log` removed at threshold of 3 for `dataset` "blue tit", `estimate_type` = "y25".
#> 
#> ── Excluding extreme values of VZ ──
#> 
#> → 0 extreme values of `se_log` removed at threshold of 3 for `dataset` "blue tit", `estimate_type` = "y25".
analysis_data %>% generate_outlier_subsets(outcome_variable = list(dataset = list("eucalyptus" = "mean_log", "blue tit" = "Z"), "estimate_type" = list("Zr" = "Zr")), n_min = -3, n_max = -3, ignore_subsets = list(estimate_type != "y25", dataset != "eucalyptus"))
#> Error: object 'estimate_type' not found