Description Usage Arguments Value
View source: R/make_extrapolation_info.ndd.r
modified from Jim Thorson's FishStatUtils::Prepare_User_Extrapolation_Data_Fn.R
uses my Convert_EN_to_LL_Fn.ndd
and Convert_LL_to_EastNorth_Fn.ndd
functions
also modifies strata.limits
to match strata.sp
if it is present
1 2 3 4 5 6 7 8 | make_extrapolation_info.ndd(
Region,
strata.limits,
input.grid,
crs.en,
crs.ll,
strata.sp
)
|
Region |
user |
strata.limits |
data frame with strata limits |
input.grid |
user created extrapolation grid |
crs.en |
Character string of the crs for the E-N projection |
crs.ll |
Character string of the crs for the current lat-lon projections |
strata.sp |
[Optional] If present, a shapefile containing the strata boundaries to calculate the indicies for |
returns a tagged list used in other functions
The area associated with each extrapolation grid cell (rows) and strata (columns)
A data frame describing the extrapolation grid with columns: Lon, Lat, Area_km2, Include, E_km, N_km. Include appears to be set to 1 for all areas? or set it to 0 for grid cells where you don't want an extrapolation??
the area associated with each row of Data_Extrap, in units square-kilometers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.