Learn R Programming

oaPlots (version 0.0.25)

OpenAnalytics Plots Package

Description

Offers a suite of functions for enhancing R plots.

Copy Link

Version

Install

install.packages('oaPlots')

Monthly Downloads

122

Version

0.0.25

License

GPL-3 + file LICENSE

Maintainer

Last Published

November 30th, 2015

Functions in oaPlots (0.0.25)

splitCircle

Function for drawing a split circle (two differently colored semicircles)
getBreaks

Divide the range of x into intervals, returning the breakpoints of these intervals
customRound

Custom rounding function to round to the nearest specified interval
oaTemplate

Create a OA Plot Template
pointsOnBoxplot.formula

Draw Points on Top of a Boxplot using Appropriate Shifting
densityLegend

Create a colored density legend for visually representing the distribution of a color variable on a plot
plotDots

Adds Points on a Pre-existing Plot using Shifted Locations
drawSplitDensity

Draw a Split Density Plot
addLegend

Function for adding a legend to an existing device
prepLegend

Function for arranging plotting layout to accomodate a legend panel
pointsOnBoxplot

Generic pointsOnBoxplot function. Calls pointsOnBoxplot.default or pointsOnBoxplot.formula
splitColorVar

Function to take a numeric vector 'colorVar' and palette 'colorPalette', and return a list containing a vector of color assignments for each element of 'colorVar' (to be used in plot calls), and a vector of breaks defining the color regions (to be used in densityLegend)
plotDensityTrace

Function for plotting the density trace outline in a density legend
scatterplotDL

Plot a base-graphics scatterplot with accompanying density legend
pointsOnBoxplot.default

Draw Points on Top of a Boxplot using Appropriate Shifting
colorPoly

Function for plotting a colored polygon as part of a density legend
plotPolygonRegions

Function to plot all colored density regions of a density legend
findLocations

Returns a Vector of x Locations
blankPlot

Create a Blank Plot
oaTheme

Apply OA ggplot2 theme
plotBars

A function for creating the segmented color bars in a density legend