Learn R Programming

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") or for binary:
install.packages('fastshp', repos = 'https://PredictiveEcology.r-universe.dev')

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

1.0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Eliot J B

Last Published

July 2nd, 2023

Functions in quickPlot (1.0.2)

dev

Specify where to plot
equalExtent

Assess whether a list of extents are all equal
.preparePlotGrob

Internal functions used by Plot
.hasBbox

Test whether class has bbox method
extent

Get extent of a variety of spatial objects
getColors

Get and set colours for plotting Raster* objects
gpar

Importing some grid functions
fortify

Fortify
.makeList

Convert plotArgs to list of lists
.identifyGrobToPlot

Identify where to get the grob from
.existsQuickPlot

Is an object defined in the .quickPlotEnv environment?
.makeColorMatrix

Convert Raster to colour matrix usable by raster function for plotting
.getQuickPlot

Get objects from the internal quickPlot environment
numLayers

Find the number of layers in an object
makeLines

Make SpatialLines object from two SpatialPoints objects
newPlot

Open a new plotting window
isRstudioServer

Determine if current session is RStudio Server
layerNames

Extract the layer names of Spatial Objects
quickPlot-package

The quickPlot package
.parOrig

Default plotting parameters
.objectNames

Extracts the object names
.makeQuickPlot

Make a .quickPlot class object
.updateQuickPlot

Merge two quickPlot objects
.parseArgs

Parse arguments and find environments
.plotGrob

Plot spatial grobs (using grid package)
.unittrim

Convert grid.locator units
.makeLayout

Make an optimal layout of plots
thin

Thin a polygon using fastshp::thin
.prepareRaster

Prepare raster for plotting
.quickPlotGrob-class

The .quickPlotGrob class
.quickPlotEnv

The quickPlot environment
clickValues

Mouse interactions with Plots
.makeViewports

Make viewports
whereInStack

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

Parsing of elements
sample-maps

Dummy maps included with quickPlot
quickPlotClasses

quickPlot classes
sp2sl

Convert pairs of coordinates to SpatialLines
.quickPlot-class

The .quickPlot class
coordinates

Extract coordinates from a variety of spatial objects
divergentColors

Divergent colour palette
clearPlot

Clear plotting device
Plot

Plot: Fast, optimally arranged, multi-panel plotting
.assignQuickPlot

Assign to the internal quickPlot environment.
.arrangeViewports

Determine optimal plotting arrangement of plot objects
.arrangement-class

The .arrangement class