Skip to contents

Overview

dmcognigen provides functions for data management tasks at the Clinical Pharmacology and Pharmacometrics (CPP) business unit of Simulations Plus, Inc.

Install it with:

remotes::install_github("simulations-plus/dmcognigen")

Load it with:

Functionality

Count Observations and Unique Values by Group

  • The function expected to be used most frequently in this package is the cnt() function.
  • cnt() is an extension of dplyr::count() intended to count the number of distinct occurrences of variables within some group. For example, we commonly cnt(.data, STUDYID, n_distinct_vars = USUBJID) to count the number of records within each STUDYID along with the number of unique subjects (USUBJID) within each STUDYID.

Calculate Standard Variables

  • See full details in the Calculations vignette.
  • Use the calculate_*() family of functions to apply standard equations.

Read and Leverage Data Requirements

Interact with Decodes

Search Datasets