repath: repath

Description Usage Arguments Details Value Author(s)

View source: R/repath.R

Description

Reconstructing Empirical Pathes

Usage

1
2
3
4
5
6
7
repath(
  df,
  sgdf,
  x = 1,
  y = 2,
  path_par = cbind(c(0.05, 0.2, 0.4, 0.5, 1, -0.3, 9))
)

Arguments

df

data frame, containing coordinates of path associated features

sgdf

SpatialGridDataFrame, same extent as area of interest

x

numeric, indicating column number of x coordinates

y

numeric, indicating column number of y coordinates

path_par

numeric vector, containing a set of modelling parameters: path_par[1] tresh = treshold, to delete phaths in areas with really low density values (KDE), meaning calculation artefacts path_par[2] f1 = factor defining the minimum border of dynamic kernel (raster width) f1*mean(nn) ## 0.2 path_par[3] f2 = factor defining the maximum border of dynamic kernel f2*mean(nn) path_par[4] f3 = minimal intensity of Kernel path_par[5] f4 = maximal intensity of Kernel path_par[6] s = Kernelparameter: incline starting from point 1 path_par[7] mwin = Moving-window-size for ridge detection (4,9,16)

Details

The 'repath' function will calculate density ridges out of the location from path associated features.

Value

list, first object "KDE" is a raster object of Kernel Density Estimation, second object "ras_dens_ridges" coordinates of density ridges

Author(s)

Franziska Faupel <ffaupel@ufg.uni-kiel.de>

Oliver Nakoinz <oliver.nakoinz@ufg.uni-kiel.de>

Hendrik Raese <h.raese@roots.uni-kiel.de>


ISAAKiel/pathAAR documentation built on Sept. 7, 2021, noon