R/RcppExports.R
tnkde_get_loo_values2.Rd
The exposed function to calculate TNKDE likelihood cv (INTERNAL) when an adaptive bandwidth is used
tnkde_get_loo_values2(
method,
neighbour_list,
sel_events,
sel_events_wid,
sel_events_time,
events,
events_wid,
events_time,
weights,
bws_net,
bws_time,
kernel_name,
line_list,
max_depth,
min_tol
)
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 Numeric Vector indicating the time 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 NumericVector indicating the timestamp of each event
a cube with the weights associated with each event for each bws_net and bws_time.
an arma::cube of three dimensions with the network bandwidths calculated for each observation for each global time and network bandwidths
an arma::cube of three dimensions with the time bandwidths calculated for each observation for each global time and network bandwidths
a string with the name of the kernel to use
a DataFrame describing the lines
the maximum recursion depth
a double indicating by how much 0 in density values must be replaced
a matrix with the CV score for each pair of global bandiwdths
# no example provided, this is an internal function