Learn R Programming

tidyCDISC (version 0.2.2)

prep_adae: Function to pre-filter the ADAE depending on the stan table selected

Description

Function to pre-filter the ADAE depending on the stan table selected

Usage

prep_adae(datafile, ADSL, input_recipe)

Value

A `list` containing a `data.frame` object and character vector specifying the pre-filter applied.

Arguments

datafile

list of ADaM-ish dataframes

ADSL

an ADSL data.frame

input_recipe

The shiny input that keeps track of the recipe selected

Examples

Run this code
if(interactive()) {
  datalist <- list(ADSL = tidyCDISC::adsl, ADVS = tidyCDISC::advs, 
                   ADAE = tidyCDISC::adae, ADLBC = tidyCDISC::adlbc)
                 
  pre_adsl <- prep_adsl(datalist$ADSL, input_recipe = 'NONE')

  # Create AE data set
  prep_adae(datalist, pre_adsl$data, input_recipe = 'NONE')
}

Run the code above in your browser using DataLab