average.polygonsPRISM: Calculate polygons average weather variable from PRISM raster

View source: R/average.polygonsPRISM.R

average.polygonsPRISMR Documentation

Calculate polygons average weather variable from PRISM raster

Description

TBD

Usage

average.polygonsPRISM(varName, dayStart, dayEnd, data_dir, shpFile)

Arguments

varName

Variable name is either 'ppt', 'tmax', or 'tmin'.

dayStart

Initial day must be in format 'Y/m/d'

dayEnd

Last day must be in format 'Y/m/d'

data_dir

Directory where prism data is

shpFile

Polygons shapefile in "SpatialPolygonsDataFrame".

Value

Average mean of squared grid within the polygon for either variable.


Noe-J-Nava/R.mted documentation built on March 19, 2022, 2:36 a.m.