R/prettyGraphics-package.R
prettyGraphics.Rd
prettyGraphics is an R package designed to make the production of prettier plots easier in R. This includes functions which implement prettier versions of many standard plots, such as scatterplots, boxplots and histograms, namely through the creation of prettier axes. Other functions facilitate data exploration (such as the addition of lines coloured by a covariate to a plot), visualisation of statistical models (such as via the addition of model predictions to plots) and plot layout.
This function defines pretty sequences, given data, limits and pretty parameters.
This function defines and adds pretty axes to plots.
This function translates numeric vectors into \(\pi\) notation.
This function translates the 'e' notation used by base R into scientific notation.
This function brings all numbers up the the same number of decimal places.
This function adds a rectangular grid to a plot at user-defined positions.
This function adds lines to a plot, possibly colouring lines by the values of a covariate.
This function adds a customisable colour bar legend to a plot.
This function adds blocks of shading to a plot to elucidate relationships between a response and explanatory variables, one of which is a factor.
This functions adds shading for the quantiles of observed variation to a plot.
This functions adds a boundary box around observations at specified coordinates.
This function computes statistical summaries of continuous data in bins.
This function adds error bars to a plot.
This function lists model predictions/confidence intervals from fitted values and standard errors (or similar).
This function adds model predictions (e.g. fitted lines, confidence intervals) to plots.
This function plots pretty one-dimensional smooths.
This function plots pretty two-dimensional smooths.
This function creates prettier plots for a variety of functions.
This function creates prettier histograms.
This function creates prettier boxplots.
This function evaluates and plots functions.
This function creates pretty matrices.
This function creates prettier diagnostic residual plots.
This function creates pretty number lines and timelines.
This function defines 'blocks' (i.e., diel periods or seasons) for each day in a time window.
This function creates pretty time series plots.
This function creates 2-dimensional plots of the within and between day variation in a time series.
This function creates processed periodogram plots (power spectra).
An interactive Shiny-Dashboard application for the exploration of time series data.
This function add moons to a plot of lunar phase.
These functions create pretty maps of spatial data (in the latter case directly from source files). They are supported by helper functions for adding spatial layers to a background map (see below).
This function summarises a raster
across latitudinal bands.
This function add latitudinal profiles to a plot of a raster
.
This function creates interactive, 3-dimensional visualisations of landscapes/seascapes and/or environmental conditions.
An R Shiny wrapper for pretty_scape_3d.
This function facilitates the creation of pretty colour schemes.
This function generates a `split-heat' colour scheme in which values either side of a break-point are coloured differently.
This function defines a suitable plotting window for a given number of plots.
This function defines the indices of plots along the lower or upper triangle of a square multi-panel matrix.
Edward Lavender