Learn R Programming

repfun (version 0.1.2)

ru_addsupp: Cobmine an SDTM domain with its corresponding Supplemental data set

Description

Pass in an SDTM data frame along with its Supplemental version and they will be combined.

Usage

ru_addsupp(dsetin, dsetinsupp)

Value

The original SDTM data set with its supplemental data appended as new variables.

Arguments

dsetin

Incoming data frame to have supplemental data added.

dsetinsupp

The supplemental data set to add.

Examples

Run this code
library(repfun)
library(knitr)
ae <- repfun::ae
suppae <- repfun::suppae
aesupp <- repfun::ru_addsupp(dsetin=ae,dsetinsupp=suppae)
knitr::kable(head(aesupp,5), caption = "SDTM.AE combined with SDTM.SUPPAE")

Run the code above in your browser using DataLab