A check function for bandwidth selection methods raising an error if a parameter is not valid
bw_checks(
check,
lines,
samples,
events,
kernel_name,
method,
bw_net_range = NULL,
bw_time_range = NULL,
bw_net_step = NULL,
bw_time_step = NULL,
diggle_correction = FALSE,
study_area = NULL
)
A boolean indicating if the geometries must be checked
A feature collection of linestrings representing the underlying network
A feature collection of points representing the sample location
a feature collection of points representing the events
The name of the kernel to use
The name of the NKDE to use
The range for the network bandwidth to consider, given as a numeric vector of two values: c(bandwidth_min, bandwidth_max)
The range for the time bandwidth to consider, given as a numeric vector of two values: c(bandwidth_min, bandwidth_max)
The step between each network bandwidth to calculate, given as a float
The step between each time bandwidth to calculate, given as a float
A Boolean indicating if the correction factor for edge effect must be used.
A feature collection of polygons representing the limits of the study area.
# no example provided, this is an internal function
Run the code above in your browser using DataLab