Skip to contents

Reporting

ru_freq()
Create Percentage based on Numerator and Denominator Data
ru_sumstats()
Calculate Descriptive Statistics
ru_list()
R function to mimic the SAS macro %tu_list.

Utility

rs_setup()
Pass values to setup function and the global environment will be arranged for use reporting tools.
ru_addbignvar()
Assign Big N to Data Frame.
ru_addpage()
Add a Page Number Column to an Existing Dataframe
ru_addsupp()
Cobmine an SDTM domain with its corresponding Supplemental data set
ru_align()
Align Columns for Reporting
ru_contents()
Generate proc contents of data frame similar to that generated by SAS
ru_data2codelist()
Return a list with codelist, code and label based on input codelist dataset.
ru_datacompare()
Compare 2 data frames and report differences.
ru_datetime()
Add numeric datetimes to data frame that only has character versions.
ru_denorm()
Transpose a Data Frame
ru_expvarlist()
Expand SAS Style Variable/Column List
ru_fillcodedcode()
Fill missing code/decode records
ru_fillna()
Fill NA values with specified values or zeros/blanks by default.
ru_getdata()
Assign Big N to Data Frame.
ru_groupbyvars()
Modify groupbyvars by adding or removing decode vars.
ru_labels()
Assign labels to variables in a data frame
ru_libname()
Automate retrieval of data sets/frames in specified folder.
ru_load_library()
Load a list of libraries
ru_setdata()
Append data sets even when variables do not match
ru_stackvar()
Stack Columns of a Dataframe into New Column
ru_width_rtf()
Create a List of Relative Widths of Columns for RTF Outputs
rem_pg_nums()
Remove floating page numbers from RTF files.
copydata()
Copy package data to the directory specified.

Data

adae
ADaM ADAE
adsl
ADaM ADSL
advs
ADaM ADVS
ae
Adverse Events
dm
Demography
suppae
Supplemental Adverse Events
suppdm
Supplemental Demography
airquality_4test
Updated airquality for testing.
airquality_updated
Updated airquality
formats
Data frame of SAS formats
mtcars_w2lbls
This is the mtcars data frame with labels added for columns mpg and cyl.