Skip to content

Commit

Permalink
#102 add @seealso entry
Browse files Browse the repository at this point in the history
  • Loading branch information
egouldo committed Aug 11, 2024
1 parent 4c26098 commit d24a9ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/standardise_response.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
#' When the `estimate_type` is `"Zr"`, [standardise_response()] standardises effect-sizes with [est_to_zr()], assuming that the `beta_estimate` and `beta_SE` values have already been back-transformed to the appropriate scale. #TODO check this.
#'
#' When the `estimate-type` is `"yi"` or otherwise, the function:
#' 1. assigns a `transformation_type` with [assign_transformation_type()]
#' 1. assigns a `transformation_type` with [assign_transformation_type()], assumes that
#' 2. Converts the out-of-sample predictions on the link- or transformed-response scale back to the original response scale using [convert_predictions()].
#' 3. Standardises predictions on the original response-scale to the Z-scale, with [pred_to_Z()].
#'
#' Note that for $y_i$ or out of sample predictions that are standardised, if param_table is `NA` or `NULL` for a given variable, then the response variable will not be standardised, and NA will be returned for that entry in `back_transformed_data`.
#'
#' @export
#' @family analyst-data
#' @seealso [est_to_zr(), assign_transformation_type()]
standardise_response <- function(dat,
estimate_type = character(1L),
param_table = NULL,
Expand Down

0 comments on commit d24a9ea

Please sign in to comment.