ess_kernel_loo_nkde: The worker function to calculate simple NKDE likelihood cv

ess_kernel_loo_nkdeR Documentation

The worker function to calculate simple NKDE likelihood cv

Description

The worker function to calculate simple NKDE likelihood cv

Arguments

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

neighbour_list

a List, giving for each node an IntegerVector with its neighbours

v

the actual node to consider (int)

bws_net

an arma::vec with the network bandwidths to consider

line_weights

a vector with the length of the edges

depth

the actual recursion depth

max_depth

the maximum recursion depth

Value

a matrix with the impact of the event v on each other events for each pair of bandwidths (mat(event, bws_net))


JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.