R/func_makeResPatch.r
wat_make_res_patch.Rd
Construct residence patches from classified residence data.
wat_make_res_patch( data, buffer_radius = 10, lim_spat_indep = 100, lim_time_indep = 30, lim_rest_indep = 30, min_fixes = 3 )
data | A dataframe of values of any class that is or extends data.frame.
The dataframe must contain at least two spatial coordinates, |
---|---|
buffer_radius | A numeric value specifying the radius of the buffer to be considered around each coordinate point. May be thought of as the distance that an individual can access, assess, or otherwise cover when at a discrete point in space. |
lim_spat_indep | A numeric value of time in minutes of the time difference between two patches for them to be considered independent. |
lim_time_indep | A numeric value of distance in metres of the spatial distance between two patches for them to the considered independent. |
lim_rest_indep | A numeric value of time in minutes of the difference in residence times between two patches for them to be considered independent. |
min_fixes | The minimum number of fixes for a group of spatially-proximate number of ponts to be considered a preliminary residence patch. |
A data.frame extension object. This dataframe has the added column
resPatch
based on cumulative patch summing. Depending on whether
inferPatches = TRUE
, the dataframe has additional inferred points.
An additional column is created in each case, indicating whether the data are
empirical fixes ('real') or 'inferred'.