R/tern.mmrm-package.R

#' `tern.mmrm` Package
#'
#' `tern.mmrm` is an analysis package to create tables, listings and graphs to analyze clinical trials data.
#'
#' @keywords internal
"_PACKAGE"

#' @import checkmate
#' @import ggplot2
#' @import rtables
#' @importFrom cowplot add_sub
#' @importFrom dplyr across
#' @importFrom lifecycle deprecated
#' @importFrom magrittr %>%
#' @importFrom mmrm df_1d
#' @importFrom parallelly as.cluster
#' @importFrom rlang .data :=
#' @importFrom tern f_conf_level
NULL

#' Example dataset for `tern.mmrm` package.
#'
#' @description `r lifecycle::badge("stable")`
#'
#' Measurements of `FEV1` (forced expired volume in one second) is a measure of how quickly the lungs can be emptied.
#' Low levels of `FEV1` may indicate chronic obstructive pulmonary disease (`COPD`).
#' @format A `tibble` with 800 rows and 7 variables:
#'
#'   - `USUBJID`: unique subject identifier.
#'   - `AVISIT`: visit number.
#'   - `ARMCD`: treatment, `TRT` or `PBO`.
#'   - `RACE`: 3-category race.
#'   - `SEX`: sex.
#'   - `FEV1_BL`: `FEV1` at baseline (%).
#'   - `FEV1`: `FEV1` at study visits.
"mmrm_test_data"

Try the tern.mmrm package in your browser

Any scripts or data that you put into this service are public.

tern.mmrm documentation built on June 22, 2024, 9:38 a.m.