discontinuousWorker_sparse | R Documentation |
The worker function to calculate discontinuous NKDE (with ARMADILLO and sparse matrix)
kernel_func |
a cpp pointer function (selected with the kernel name) |
edge_mat |
matrix, to find the id of each edge given two neighbours |
neighbour_list |
a List, giving for each node an IntegerVector with its neighbours |
v |
the actual node to consider for the recursion (int) |
bw |
the kernel bandiwdth |
line_weights |
a vector with the length of the edges |
samples_edgeid |
a vector associating each sample to an edge |
samples_coords |
a matrix with the X and Y coordinates of the samples |
nodes_coords |
a matrix with the X and Y coordinates of the nodes |
depth |
the actual recursion depth |
max_depth |
the maximum recursion depth |
a vector with the kernel values calculated for each samples from the first node given
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.