R/RcppExports.R
adaptive_bw_tnkde_cpp.Rd
The exposed function to calculate adaptive bandwidth with space-time interaction for TNKDE (INTERNAL)
adaptive_bw_tnkde_cpp(
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::vec with the network bandwidths to consider
an arma::vec with the time bandwidths to consider
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 vector witht the estimated density at each event location
# no example provided, this is an internal function