The sassy package is a meta-package that aims to make R easier for everyone, especially people with a background in SAS®. The package brings several useful SAS® concepts to R, including data libraries, formats and format catalogs, data dictionaries, a data step, a traceable log, and a reporting package with a variety of printable report types.
The core of the sassy system is the
procs package. This package contains replications of
several SAS® procedures:
proc_sort(). Combined with the
function from the libr package, you can write code in R
that very much resembles what you would write in SAS®. These functions
provide a higher-level programming interface than is typically found in
R, and can therefore make your analysis more efficient and
The sassy meta-package contains the following packages:
The above links will take you into the respective packages for a deep dive on their capabilities.
Before taking a deep dive into the sassy package documentation, please look at some examples. These examples will give you a feel for the overall flow of a sassy-enhanced program, and allow you to see how the functions work together.
The following examples are provided on this site:
Creates a simple data listing and log
Example 2: Creates a
table of demographic characteristics
Creates a simple figure
Example 4: Creates
an AE table with a page wrap
Example 5: Creates a
table of vital signs statistics
Creates a figure with a by-group
Perform survival analysis.
Create a patient profile report.
Create a figure with a forest plot.
Example 10: Create a
subject disposition table.
Example 11: Create a subject listing with vital signs by visit.