prep_adae {tidyCDISC}R Documentation

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)

Arguments

datafile

list of ADaM-ish dataframes

ADSL

an ADSL data.frame

input_recipe

The shiny input that keeps track of the recipe selected

Value

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

Examples

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')
}

[Package tidyCDISC version 0.2.1 Index]