Description Usage Arguments Value
HeatMaker - Calculates smoothed dwell time at each coodinates.
1 2 | SmoothDwell(smooth.data, x.vec = NULL, y.vec = NULL, sigma = 9,
n = 57, quant = 0.95, to.plot = FALSE)
|
smooth.data |
A data.frame contains x and y coordinates name of x coordinates vector should contain "x" or "X" column name of y coordinates vector should contain "y" or "Y" |
x.vec |
The grid of x-axis for the heatmap. Defaults to seq(min(x), max(x), 1) |
y.vec |
The grid of y-axis for the heatmap. Defaults to seq(min(y), max(y), 1) |
sigma |
The standard deviation of the Gaussian smoothing kernel, controls the level of the smoothing (larger, the heatmap will be smoother) |
n |
The filter size is n * n |
quant |
Quantile threshold, returns the > quant local maxima |
to.plot |
Flag, if TRUE will also plot the heatmap |
The function returns a list with following objects:
a data.frame, x, y, smooth.dwell.time. For each cell coordinates the smoothed dwell time spent
coordinates of local maxima above the predetermined threshold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.