Skip to contents

Prepare response variable data for nested ManyEcoEvo dataset - out of sample predictions only

Usage

prepare_response_variables_yi(
  ManyEcoEvo,
  estimate_type = character(1L),
  param_table = NULL
)

Arguments

ManyEcoEvo

Complete ManyEcoEvo dataset containing nested datasets for each different analysis and exclusion set dataset

estimate_type

A character string of length 1, equal to either "yi", "y25", "y50", "y75", indicating what type of estimates are being prepared.

param_table

A table of parameters \(mean, sd\) for most response variables used by analysts. This tibble is pulled from the named object exported by ManyEcoEvo::. but can be overwritten with the users's own param_table dataset.

Value

A tibble of nested list-columns

Details

Operates on nested list-columns of data. The function back-transforms the response variables from the link to the response scale for each dataset in the ManyEcoEvo dataset. The back-transformed data is stored in a list-column called back_transformed_data. It is useful for when wanting to conduct a meta-analysis on the response scale, e.g. for the Eucalyptus count data. estimate_type is used to specify the type of estimate to be standardised and parsed to back_transform_response_vars_yi()