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.

Examples

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.

  • Example 1: Creates a simple data listing and log Listing example image

  • Example 2: Creates a table of demographic characteristics
    Demographics example image

  • Example 3: Creates a simple figure Figure example image

  • Example 4: Creates an AE table with a page wrap AE example image

  • Example 5: Creates a table of vital signs statistics Vital signs example image

  • Example 6: Creates a figure with a by-group Figure by example image

  • Example 7: Perform survival analysis. Survival analysis example image

  • Example 8: Creates a patient profile report. Patient profile example image

  • Example 9: Creates a figure with a forest plot. Forest plot example image

  • Example 10: Creates a subject disposition table. Disposition example image

  • Example 11: Creates a subject listing with vital signs by visit. Subject listing example image

  • Example 12: Creates a combined figure of age groups by treatment. Patchwork figure example image

  • Example 13: Creates a Mean Change from Baseline figure for laboratory values. Change from baseline example image

  • Example 14: Creates an AE table with severity grades in rows AE Severity example image

  • Example 15: Creates both stand-alone and “intext” versions of a demographics table. Intext Demographics example image

  • Example 16: Creates a shift table of lab values. Shift table example image

Once you review these examples, please proceed to the package links above to explore the system further!