osprey
is an R package for community contributed analysis functions to create TLGs (tables, listing and graphs) for the analysis of clinical trials data. These functions can be used stand alone to generate static analysis, but are also called by the teal.osprey package which provides teal
modules to be used inside teal
applications.
The package provides:
- waterfall plots (
g_waterfall
) - swim lane plots (
g_swimlane
) - spider plots (
g_spiderplot
) - butterfly plots (
g_butterfly
) - and many more
Installation
For releases from August 2022 it is recommended that you create and use a Github PAT to install the latest version of this package. Once you have the PAT, run the following:
Sys.setenv(GITHUB_PAT = "your_access_token_here")
if (!require("remotes")) install.packages("remotes")
remotes::install_github("insightsengineering/osprey@*release")
A stable release of all NEST
packages from June 2022 is also available here.
In order to run many of the examples you will also need to install the scda
package.