Learn R Programming

⚠️There's a newer version (1.0.2) of this package.Take me there.

quickPlot

Built on top of grid, this package aims at making a high-level plotting system that is optimized for speed and modularity. This has great utility for quick visualizations when testing code, with the key benefit that visualizations are updated independently of one another.

Installation

The suggested package fastshp can be installed with:

install.packages("fastshp", repos = "https://rforge.net", type = "source")

Building packages from source requires the appropriate development libraries for your operating system (e.g., Windows users should install Rtools).

Current stable release

Install from CRAN:

install.packages("quickPlot")

Install from GitHub:

#install.packages("devtools")
library("devtools")
install_github("PredictiveEcology/quickPlot", dependencies = TRUE) # stable

Development version (unstable)

Install from GitHub:

#install.packages("devtools")
library("devtools")
install_github("PredictiveEcology/quickPlot", ref = "development", dependencies = TRUE) # unstable

Copy Link

Version

Install

install.packages('quickPlot')

Monthly Downloads

1,859

Version

0.1.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Eliot J B

Last Published

October 1st, 2018

Functions in quickPlot (0.1.5)

.makeLayout

Make an optimal layout of plots
griddedClasses-class

The griddedClasses class
.hasBbox

Test whether class has bbox method
.makeViewports

Make viewports
thin

Thin a polygon using fastshp::thin
newPlot

Open a new plotting window
getColors

Get and set colours for plotting Raster* objects
.quickPlot-class

The .quickPlot class
.unittrim

Convert grid.locator units
.prepareRaster

Prepare raster for plotting
makeLines

Make SpatialLines object from two SpatialPoints objects
gpar

Importing some grid functions
layerNames

Extract the layer names of Spatial Objects
fortify

Fortify - i.e,. convert an arbitrary object to a data.frame-like object
Plot

Plot: Fast, optimally arranged, multipanel plotting
.quickPlotEnv

The quickPlot environment
isRstudioServer

Determine if current session is RStudio Server
.identifyGrobToPlot

Identify where to get the grob from
.quickPlotGrob-class

The .quickPlotGrob class
.getQuickPlot

Get objects from the internal quickPlot environment
.parOrig

Default plotting parameters
.makeColorMatrix

Convert Raster to color matrix usable by raster function for plotting
numLayers

Find the number of layers in a Spatial Object
quickPlotClasses

quickPlot classes
.parseArgs

Parse arguments and find environments
.parseElems

Parsing of elements
.objectNames

Extracts the object names
.makeList

Convert plotArgs to list of lists
.makeQuickPlot

Make a .quickPlot class object
clickValues

Mouse interactions with Plots
.quickPlotObjects-class

The .quickPlotObjects class
quickPlot-package

The quickPlot package
sp2sl

Convert pairs of coordinates to SpatialLines
spatialObjects-class

The spatialObjects class
.plotGrob

Plot spatial grobs (using grid package)
sample-maps

Dummy maps included with quickPlot
.quickPlottables-class

The .quickPlottables class
.updateQuickPlot

Merge two quickPlot objects
whereInStack

Find the environment in the call stack that contains an object by name
clearPlot

Clear plotting device
equalExtent

Assess whether a list of extents are all equal
dev

Specify where to plot
.arrangeViewports

Determine optimal plotting arrangement of plot objects
.assignQuickPlot

Assign to the internal quickPlot environment.
.preparePlotGrob

Internal functions used by Plot
.arrangement-class

The .arrangement class
divergentColors

Divergent colour palette
.existsQuickPlot

Is an object defined in the .quickPlotEnv environment?