kzpdrA group of internal functions used by kzpdr function.
getaway is designed to extract data series along
a given line in a 2D field.
agrid is to aggregate data based on given grid points.
a2d transfers 2D array to data frame. If input is data frame,
it will return the original data frame.
df2mt transfers data frame to matrix.
getwave(df, angle)a2d(a)
df2mt(df, scale)
agrid(df, scale, math = "mean")
Data frame of signal values and positions.
Direction or vector of directions in radians.
2D array for position and signal values.
Vector for scale of each dimension. For example, for a x * y grid, the scale is c(1/x, 1/y).
Function to aggregate the data. Defaults to "mean".