predict.vectorfield {fitlandr} | R Documentation |
Calculate the vector value at a given position
Description
Calculate the vector value at a given position
Usage
## S3 method for class 'vectorfield'
predict(object, pos, linear_interp = FALSE, calculate_a = TRUE, ...)
Arguments
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. |
Value
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.
See Also
[Package fitlandr version 0.1.0 Index]