diff --git a/NAMESPACE b/NAMESPACE index 79c61fd..6044ce1 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -233,6 +233,7 @@ importFrom(rlang,is_list) importFrom(rlang,is_na) importFrom(rlang,is_null) importFrom(rlang,na_chr) +importFrom(rlang,na_lgl) importFrom(rlang,new_formula) importFrom(rlang,quo_set_env) importFrom(sae,bxcx) diff --git a/man/back_transform_response_vars_yi.Rd b/man/back_transform_response_vars_yi.Rd index 5de2ac1..f1fd379 100644 --- a/man/back_transform_response_vars_yi.Rd +++ b/man/back_transform_response_vars_yi.Rd @@ -2,16 +2,16 @@ % Please edit documentation in R/prepare_response_variables_yi.R \name{back_transform_response_vars_yi} \alias{back_transform_response_vars_yi} -\title{Back Transform Response Variables - yi} +\title{Back-transform analyst \code{yi} estiamtes to the response scale} \usage{ back_transform_response_vars_yi( - dat, + data, estimate_type = character(1L), dataset = character(1L) ) } \arguments{ -\item{dat}{A dataframe of out of sample predictions analyst submission data} +\item{data}{dataframe of out of sample predictions analyst submission data} \item{estimate_type}{The type of estimate to be standardised. Character vector of length 1, whose value may be "yi", "y25", "y50", "y75".} @@ -21,7 +21,7 @@ back_transform_response_vars_yi( A tibble of analyst data with standardised values contained in a list-column called 'back_transformed_data' } \description{ -Back Transform Response Variables - yi +Back-transform analyst \code{yi} estiamtes to the response scale } \seealso{ Other Analysis-level functions: diff --git a/man/prepare_response_variables_yi.Rd b/man/prepare_response_variables_yi.Rd index bf2d385..839e12b 100644 --- a/man/prepare_response_variables_yi.Rd +++ b/man/prepare_response_variables_yi.Rd @@ -2,16 +2,16 @@ % Please edit documentation in R/prepare_response_variables_yi.R \name{prepare_response_variables_yi} \alias{prepare_response_variables_yi} -\title{Prepare response variable data for nested ManyEcoEvo dataset - out of sample predictions only} +\title{Prepare response variable data for nested ManyEcoEvo \code{yi} dataset} \usage{ prepare_response_variables_yi( - ManyEcoEvo, + data, estimate_type = character(1L), param_table = NULL ) } \arguments{ -\item{ManyEcoEvo}{Complete ManyEcoEvo dataset containing nested datasets for each different analysis and exclusion set dataset} +\item{data}{Complete ManyEcoEvo-style dataset containing nested datasets for each different analysis and exclusion set dataset.} \item{estimate_type}{A character string of length 1, equal to either "yi", "y25", "y50", "y75", indicating what type of estimates are being prepared.} @@ -21,7 +21,7 @@ prepare_response_variables_yi( A tibble of nested list-columns } \description{ -Prepare response variable data for nested ManyEcoEvo dataset - out of sample predictions only +Prepare response variable data for nested ManyEcoEvo \code{yi} dataset } \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 \code{back_transformed_data}. It is useful for when wanting to conduct a meta-analysis on the response scale, e.g. for the \emph{Eucalyptus} count data.