| interaction_st_fast | R Documentation |
Computes $g_i = exp(-alpha3 * sum_{j<i} 1[ ||x_i-x_j|| <= beta3 AND (t_i - t_j) >= gamma3 ])$ for i = 1..n, with g_0 = exp(0) = 1.
interaction_st_fast(data, params)
data |
NumericMatrix with columns (time, x, y). Assumed sorted by time ascending. |
params |
NumericVector length 3: (alpha3, beta3, gamma3) |
NumericVector length n of exp(-alpha3 * counts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.