# Mapping Fisheries Data and Spatial Analysis Tools

## Documentation for package ‘PBSmapping’ version 2.74.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Code demos. Use demo() to run them.

## Help Pages

A B C D E F I J L M N P R S T W misc

PBSmapping-package | PBS Mapping: Draw Maps and Implement Other GIS Procedures

## -- A --

addBubbles | Add Bubbles to Maps
addCompass | Add Compass Rose to Map
addLabels | Add Labels to an Existing Plot
addLines | Add a PolySet to an Existing Plot as Polylines
addPoints | Add EventData/PolyData to an Existing Plot as Points
addPolys | Add Polygon PolySet to Existing Plot
addStipples | Add Stipples to an Existing Plot
appendPolys | Append a Two-Column Matrix to a PolySet
as.EventData | EventData Objects
as.LocationSet | LocationSet Objects
as.PolyData | PolyData Objects
as.PolySet | PolySet Objects

## -- B --

bcBathymetry | Data: Bathymetry Spanning BC Coast

## -- C --

calcArea | Calculate the Areas of Polygons
calcCentroid | Calculate the Centroids of Polygons
calcConvexHull | Calculate Convex Hull for a Set of Points
calcGCdist | Calculate Great-Circle Distance
calcLength | Calculate the Length of Polylines
calcMidRange | Calculate the Midpoint of the X/Y Ranges of Polygons
calcSummary | Apply Functions to Polygons in a PolySet
calcVoronoi | Calculate Voronoi Tesselation
clipLines | Clip a PolySet as Polygons or Polylines
clipPolys | Clip a PolySet as Polygons or Polylines
closePolys | Close a PolySet
combineEvents | Combine Measurements of Events
combinePolys | Combine Several Polygons into a Single Polygon
convCP | Convert Contour Lines into a PolySet
convDP | Convert EventData/PolyData into a PolySet
convLP | Convert Polylines into a Polygon
convUL | Convert Coordinates between UTM and Lon/Lat

## -- D --

dividePolys | Divide a Single Polygon into Several Polygons

## -- E --

EventData | EventData Objects
extractPolyData | Extract PolyData from a PolySet

## -- F --

findCells | Find Grid Cells that Contain Events
findPolys | Find Polygons that Contain Events
fixBound | Fix the Boundary Points of a PolySet
fixPOS | Fix the POS Column of a PolySet

## -- I --

importEvents | Import EventData from a Text File
importGSHHS | Import Data from a GSHHS Database
importLocs | Import LocationSet from Text File
importPolys | Import PolySet from Text File
is.EventData | EventData Objects
is.LocationSet | LocationSet Objects
is.PolyData | PolyData Objects
is.PolySet | PolySet Objects
isConvex | Determine Whether Polygons are Convex
isIntersecting | Determine Whether Polygons are Self-Intersecting

## -- J --

joinPolys | Join One or Two PolySets using a Logic Operation

## -- L --

locateEvents | Locate Events on the Current Plot
locatePolys | Locate Polygons on the Current Plot
LocationSet | LocationSet Objects

## -- M --

makeGrid | Make a Grid of Polygons
makeProps | Make Polygon Properties
makeTopography | Make Topography Data from Online Source

## -- N --

nepacLL | Data: Shorelines of the NE Pacific Ocean and of the World
nepacLLhigh | Data: Shorelines of the NE Pacific Ocean and of the World

## -- P --

PBSmapping | PBS Mapping: Draw Maps and Implement Other GIS Procedures
PBSprint | Specify Whether to Print Summaries
placeHoles | Place Holes Under Solids
plotLines | Plot a PolySet as Polylines
plotMap | Plot a PolySet as a Map
plotPoints | Plot EventData/PolyData as Points
plotPolys | Plot a PolySet as Polygons
PolyData | PolyData Objects
PolySet | PolySet Objects
print.EventData | Print PBS Mapping Objects
print.LocationSet | Print PBS Mapping Objects
print.PolyData | Print PBS Mapping Objects
print.PolySet | Print PBS Mapping Objects
print.summary.PBS | Print PBS Mapping Objects
pythagoras | Data: Pythagoras' Theorem Diagram PolySet

## -- R --

refocusWorld | Refocus the 'worldLL'/'worldLLhigh' Data Sets
RGB2RYB | Convert RGB to RYB and RYB to RGB
rotateEvents | Rotate Polygons and Events
rotatePolys | Rotate Polygons and Events
RYB2RGB | Convert RGB to RYB and RYB to RGB

## -- S --

summary.EventData | Summarize PBS Mapping Objects
summary.LocationSet | Summarize PBS Mapping Objects
summary.PolyData | Summarize PBS Mapping Objects
summary.PolySet | Summarize PBS Mapping Objects
surveyData | Data: Tow Information from Pacific Ocean Perch Survey

## -- T --

thickenPolys | Thicken a PolySet of Polygons
thinPolys | Thin a PolySet of Polygons
towData | Data: Tow Information from Longspine Thornyhead Survey
towTracks | Data: Tow Track Polylines from Longspine Thornyhead Survey

## -- W --

worldLL | Data: Shorelines of the NE Pacific Ocean and of the World
worldLLhigh | Data: Shorelines of the NE Pacific Ocean and of the World

## -- misc --

.addAxis | Add Items to Plots
.addAxis2 | Add Items to Plots
.addBubblesLegend | Add Items to Plots
.addCorners | Add Items to Plots
.addFeature | Add Items to Plots
.addLabels | Add Items to Plots
.addProps | Add Items to Plots
.calcDist | Calculate Things
.calcOrientation | Calculate Things
.checkClipLimits | Check Stuff
.checkProjection | Check Stuff
.checkRDeps | Check Stuff
.clip | Clip a PolySet as Polygons or Polylines
.closestPoint | Calculate Convex Hull for a Set of Points
.createFastIDdig | Create Indices for PolySets
.createGridIDs | Create Indices for PolySets
.createIDs | Create Indices for PolySets
.expandEdges | Calculate Voronoi Tesselation
.fixGSHHSWorld | Fix Things
.getBasename | Get Stuff
.getGridPars | Get Stuff
.initPlotRegion | Plot a PolySet as a Map
.insertNAs | Add Polygon PolySet to Existing Plot
.is.in | Are Points in Polygons?
.mat2df | Convert Matrix to Data Frame
.PBSfig01 | Run PBSmapping Example Figures
.PBSfig02 | Run PBSmapping Example Figures
.PBSfig03 | Run PBSmapping Example Figures
.PBSfig04 | Run PBSmapping Example Figures
.PBSfig05 | Run PBSmapping Example Figures
.PBSfig06 | Run PBSmapping Example Figures
.PBSfig07 | Run PBSmapping Example Figures
.PBSfig08 | Run PBSmapping Example Figures
.PBSfig09 | Run PBSmapping Example Figures
.PBSfig10 | Run PBSmapping Example Figures
.PBSfigs | Run PBSmapping Example Figures
.PBSmapEnv | PBSmapping Environment
.plotMaps | Plot a PolySet as a Map
.preparePolyProps | Add Polygon PolySet to Existing Plot
.rollupPolys | Add Polygon PolySet to Existing Plot
.validateData | Validate PBSmapping Data Structures
.validateEventData | Validate PBSmapping Data Structures
.validateLocationSet | Validate PBSmapping Data Structures
.validatePolyData | Validate PBSmapping Data Structures
.validatePolyProps | Validate PBSmapping Data Structures
.validatePolySet | Validate PBSmapping Data Structures
.validateXYData | Validate PBSmapping Data Structures