Learn R Programming

MEDITS (version 0.1.7)

TATB.grid: Overlay of TA and TB tables merge with the statistical grid

Description

Overlay of TA and TB tables merge with the statistical grid. A data frame is produced in which to each haul is associated the code of the corresponding grid cell.

Usage

TATB.grid(TA, TB, sspp, grid.sf=cgpmgrid)

Arguments

TA

data frame of the TA table

TB

data frame of the TB table

sspp

string value containing the selected species code for merging. The code should be reported in the MEDITS format (rubin code), without spaces between genus and species names.

grid.sf

shapefile of the statistical grid used by the function. It is already loaded in the package and should not be defined by the user.

Examples

Run this code
# NOT RUN {
TATB.grid(TA,TB,"ARISFOL", grid.sf=cgpmgrid)
# }

Run the code above in your browser using DataLab