make.par.array: Make spatio-temporal array of movement parameters This...

Description Usage Arguments Details

View source: R/make.par.array.r

Description

Make spatio-temporal array of movement parameters This function generates monthly advection and diffusion mean and standard deviation for each area in the spatial strata used. Missing months default to the previous months value. Missing areas should be filled in by the user.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
make.par.array(
  tracks,
  inbox,
  rasbox = NULL,
  rrows = 26 * 5,
  rcols = 29 * 5,
  use_wts = NULL,
  missvec = NULL,
  fillvec = NULL
)

Arguments

tracks

spatial points data frame of tracks

inbox

spatial polygons (shapefile) of areas

rasbox

optional raster version of spatial polygons for areas. If included, rrows and rcols may be NULL

rrows

number of rows for raster creation

rcols

number of columns for raster creation

use_wts

T/F for using weights

missvec

vector of missing rows (areas) in final output. This can be obtained by running once with this function left as NULL

fillvec

vector of replacement rows for missvec. This is a subjectie decision by the user and is dependent on the spatial strata used

Details

The default size raster created is 130 degrees latitude and 145 degrees longitude, with 5 degree cells. This should be specific to the spatial strata used (e.g. the 11 box model) and should ideally have cells that split the areas along ploygon lines.


galuardi/SatTagSim documentation built on Nov. 15, 2020, 6:28 a.m.