Calculates the area of a polygon from a shapefile.
get_area(areaPolygon, areaDescription)
Returns a data.table (nx2).
The name of each Region
The area of the STRATA in square kilometers
The deafult CRS is the Lambert Conformal Conic as is denoted by :
"+proj=lcc +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-72 +x_0=0 +y_0=0 +datum=NAD83 +units=m +no_defs +ellps=GRS80 +towgs84=0,0,0 "
Other survdat:
calc_stratified_mean()
,
calc_swept_area()
,
get_survdat_clam_data()
,
get_survdat_data()
,
get_survdat_scallop_data()
if (FALSE) { # \dontrun{
#Find the area of each Stratum in the strata.shp shapefile (bundled with the package)
area <- sf::st_read(dsn=system.file("extdata","strata.shp",package="survdat"))
get_area(areaPolygon = area, areaDescription="STRATA")
} # }