Skip to contents

Example data

These are example datasets used in the TWRI r-manual.

dissolved_oxygen
Dissolved oxygen measurements from the Tres Palacios river
arroyo_wetland
Water quality data from two sites on the Arroyo Colorado
easterwood_weather
Temperature and precipitation data at Easterwood Airport
mission_aransas_nerr
Water quality data for Mission and Aransas National Estuarine Research Reserve (NERR)
neon_stage_discharge
Discharge measurements from field-based surveys
path_to_file()
Get file path to example data
uranium_tds
Uranium and total dissolved solids

ggplot2 themes

Themes control the display of all non-data elements of the plot. Use ggplot2::theme() to tweak individual settings.

theme_TWRI_pres()
a ggplot2 theme formatted in the TWRI style for presentations
theme_TWRI_print()
a ggplot2 theme formatted in the TWRI style

Helpers

Various helper functions for use with ggplot2.

add_TWRI_logo()
Add logo to ggplot
ggplot_box_legend()
Create a Boxplot Legend
install_font()
Open and install fonts

Palettes

Obtain hex codes and values for the TWRI specified color palette.

get_twri_palettes()
Get names of all unique palettes provided in twriTemplates
twri_pal twri_pal_op twri_pal_cont twri_pal_div
TWRI complementary color palette

rmarkdown templates

Templates for use with rmarkdown.

twri_docx()
RMD docx template for TWRI
twri_pdf()
RMD PDF Template for TWRI

Scales

This package provides a handful of scales for use with color or fill aesthetics in ggplot2.