esc_kernel_loo_tnkde | R Documentation |
The worker function to calculate continuous TNKDE likelihood cv (INTERNAL)
kernel_func |
a cpp pointer function (selected with the kernel name) |
edge_mat |
matrix, to find the id of each edge given two neighbours. |
events |
a NumericVector indicating the nodes in the graph being events |
time_events |
a NumericVector indicating the timestamp of each event |
neighbour_list |
a List, giving for each node an IntegerVector with its neighbours |
v |
the actual node to consider (int) |
v_time |
the time of v (double) |
bws_net |
an arma::vec with the network bandwidths to consider |
bws_time |
an arma::vec with the time bandwidths to consider |
line_weights |
a vector with the length of the edges |
depth |
the actual recursion depth |
max_depth |
the maximum recursion depth |
a cube with the impact of the event v on each other event for each pair of bandwidths (cube(bws_net, bws_time, events))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.