Add a grid to a vectorfield
object to enable linear interpolation
Source: R/fit_vectorfield.R
add_interp_grid.Rd
Add a grid to a vectorfield
object to enable linear interpolation
Arguments
- vf
A
vectorfield
object estimated byfit_2d_vf()
.- lims
The limits of the range for the vector field estimation as
c(<xl>, <xu>, <yl>, <yu>)
. If missing, the range of the data extended by 10% for both sides will be used.- n
The number of equally spaced points in each axis, at which the vectors are to be estimated.