View source: R/get_inputgrid.R
get_inputgrid | R Documentation |
Define the input grid for a given survey, where positive values for each coordinate pair define the area in square kilometers to predict to.
get_inputgrid(survey, range.depth = c(-35, -Inf), range.lat = c(-Inf, Inf))
survey |
A character value supplying the survey name.
The value is typically an acronym.
See |
range.depth |
A vector of two numeric values specifying the range of
depth values of interest. Values must be in meters and negative values
represent those below sea level and positive values are assumed to be
above sea level. The first entry is the shallow value and the second
entry is the deeper cutoff. The default value is
|
range.lat |
A vector of two numeric values specifying the range of
latitude values of interest. Values must be in decimal degrees.
The first entry is the smaller value, i.e., southern border, and the second
entry is the larger value, i.e., northern border. The default value is
|
Grid cells within the cowcod conservation area
denoted by positive values in the Cowcod
column and grid cells
with a depth less than 35 m are removed from the prediction area
for all surveys. The remaining grid cells are chosen for inclusion in
the predicted area based on the "prop..."
column that is relevant
to the survey of interest. See convert_survey4vast()
for
column names for a given survey.
A data frame of grid points with associated metadata for each box. The data frame is an augmented version of the california current data frame available in the FishStatsUtils package. The most relevant columns will be those for Latitude (Lat), Longitude (Lon), Depth (in meters), and Area_km2. For Area_km2, a column created by this function, only grid cells that pertain to the survey of interest will have positive values. These grid cells with positive values will be included in the prediction area for the results.
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.