align_pot_B {fitlandr} | R Documentation |
So that all path-potentials end up at same global min and then generate potential surface with interpolation on a grid.
align_pot_B(resultB, n = 200, digits = 2, linear = TRUE, ...)
resultB |
Result from |
n |
The number of equally spaced points in each axis, at which the landscape is to be estimated. |
digits |
Currently, the raw sample points in some regions are too dense that may crashes interpolation. To avoid this problem, only one point of all with the same first several digits. is kept. Use this parameter to indicate how many digits are considered. Note that this is a temporary solution and might be changed in the near future. |
linear |
logical – indicating whether linear or spline interpolation should be used. |
... |
Other parameters passed to |
list with 3 components:
x , y |
vectors of x- and y- coordinates of output grid, the same as the input
argument |
z |
matrix of fitted z-values. The value |
If input is a SpatialPointsDataFrame
a
SpatialPixelssDataFrame
is returned.