Learn R Programming

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

PBSmapping (version 2.69.76)

Mapping Fisheries Data and Spatial Analysis Tools

Description

This software has evolved from fisheries research conducted at the Pacific Biological Station (PBS) in `Nanaimo', British Columbia, Canada. It extends the R language to include two-dimensional plotting features similar to those commonly available in a Geographic Information System (GIS). Embedded C code speeds algorithms from computational geometry, such as finding polygons that contain specified point events or converting between longitude-latitude and Universal Transverse Mercator (UTM) coordinates. Additionally, we include `C++' code developed by Angus Johnson for the `Clipper' library. Also included are data for a global shoreline and other data sets in the public domain. The R directory `.../library/PBSmapping/doc' offers a complete user's guide, which should be consulted to use package functions effectively.

Copy Link

Version

Install

install.packages('PBSmapping')

Monthly Downloads

1,464

Version

2.69.76

License

GPL (>= 2)

Maintainer

Rowan Haigh

Last Published

April 24th, 2015

Functions in PBSmapping (2.69.76)

bcBathymetry

Data: Bathymetry Spanning British Columbia's Coast
appendPolys

Append a Two-Column Matrix to a PolySet
calcArea

Calculate the Areas of Polygons
addPolys

Add a PolySet to an Existing Plot as Polygons
addLines

Add a PolySet to an Existing Plot as Polylines
addPoints

Add EventData/PolyData to an Existing Plot as Points
addStipples

Add Stipples to an Existing Plot
addBubbles

Add Bubbles to Maps
calcCentroid

Calculate the Centroids of Polygons
addLabels

Add Labels to an Existing Plot
calcMidRange

Calculate the Midpoint of the X/Y Ranges of Polygons
combineEvents

Combine Measurements of Events
clipLines

Clip a PolySet as Polylines
clipPolys

Clip a PolySet as Polygons
calcVoronoi

Calculate the Voronoi (Dirichlet) Tesselation for a Set of Points
calcLength

Calculate the Length of Polylines
calcConvexHull

Calculate the Convex Hull for a Set of Points
combinePolys

Combine Several Polygons into a Single Polygon
calcSummary

Apply Functions to Polygons in a PolySet
closePolys

Close a PolySet
extractPolyData

Extract PolyData from a PolySet
fixBound

Fix the Boundary Points of a PolySet
convUL

Convert Coordinates between UTM and Lon/Lat
dividePolys

Divide a Single Polygon into Several Polygons
convCP

Convert Contour Lines into a PolySet
convDP

Convert EventData/PolyData into a PolySet
EventData

EventData Objects
findPolys

Find Polygons that Contain Events
findCells

Find Grid Cells that Contain Events
convLP

Convert Polylines into a Polygon
isConvex

Determine Whether Polygons are Convex
importLocs

Import LocationSet from a text file
locateEvents

Locate Events on the Current Plot
joinPolys

Join One or Two PolySets using a Logic Operation
fixPOS

Fix the POS Column of a PolySet
isIntersecting

Determine Whether Polygons are Self-Intersecting
importShapefile

Import an ESRI Shapefile
importPolys

Import PolySet from a text file
importGSHHS

Import Data from a GSHHS Database
importEvents

Import EventData from a Text File
locatePolys

Locate Polygons on the Current Plot
PBSmapping

PBS Mapping: Draw Maps and Implement Other GIS Procedures
PBSprint

Specify Whether to Print Summaries
makeProps

Make Polygon Properties
placeHoles

Place Holes Under Correct Solids
plotLines

Plot a PolySet as Polylines
LocationSet

LocationSet Objects
makeTopography

Make Topography Data From Freely Available Online Data
plotMap

Plot a PolySet as a Map
refocusWorld

Refocus the worldLL/worldLLhigh Data Sets
pythagoras

Data: Pythagoras' Theorem Diagram PolySet
PolySet

PolySet Objects
summary

Summarize PBS Mapping Objects
PolyData

PolyData Objects
surveyData

Data: Tow Information from Pacific Ocean Perch Survey
print

Print PBS Mapping Objects
plotPolys

Plot a PolySet as Polygons
plotPoints

Plot EventData/PolyData as Points
towTracks

Data: Tow Track Polylines from Longspine Thornyhead Survey
thickenPolys

Thicken a PolySet of Polygons
thinPolys

Thin a PolySet of Polygons
towData

Data: Tow Information from Longspine Thornyhead Survey
nepacLL

Data: Shorelines of the NE Pacific Ocean and of the World
makeGrid

Make a Grid of Polygons