The exposed function to calculate NKDE likelihood cv (INTERNAL)
nkde_get_loo_values(
method,
neighbour_list,
sel_events,
sel_events_wid,
events,
events_wid,
weights,
bws_net,
kernel_name,
line_list,
max_depth,
cvl
)
a string, one of "simple", "continuous", "discontinuous"
a List, giving for each node an IntegerVector with its neighbours
a Numeric vector indicating the selected events (id of nodes)
a Numeric Vector indicating the unique if of the selected events
a NumericVector indicating the nodes in the graph being events
a NumericVector indicating the unique id of all the events
a matrix with the weights associated with each event (row) for each bws_net (cols).
an arma::mat with the network bandwidths to consider for each event
a string with the name of the kernel to use
a DataFrame describing the lines
the maximum recursion depth
a boolean indicating if the Cronie (TRUE) or CV likelihood (FALSE) must be used
a vector with the CV score for each bandwidth and the densities if required
# no example provided, this is an internal function