predict.vectorfield {fitlandr} | R Documentation |
Calculate the vector value at a given position
## S3 method for class 'vectorfield'
predict(object, pos, linear_interp = FALSE, calculate_a = TRUE, ...)
object |
A |
pos |
A vector, the position of the vector. |
linear_interp |
Use linear interpolation method to estimate the drift vector (and the diffusion matrix). This can speed up the calculation. If |
calculate_a |
Effective when |
... |
Not in use. |
A list of v
, the drift part that is used for vector fields, and a
(when calculate_a == TRUE
), the diffusion part at a given position.