View source: R/nsink_generate_static_maps.R
nsink_generate_n_removal_heatmap | R Documentation |
Generates the heatmap. Only flowpaths that have one segment or more completely contained within the HUC are included. Practically, this will only remove flowpaths that do not intersect the stream network and extend beyond the HUC. This is rare.
nsink_generate_n_removal_heatmap(
input_data,
removal,
samp_dens,
ncpu = future::availableCores() - 1,
seed = 23
)
input_data |
A list of input datasets created with
|
removal |
The removal raster stack or removal list, generated by
|
samp_dens |
A value, in the units of the input data, divided by total area of the input HUC. It is used to determine the number of points, determined through a regular sample, to calculate removal. For instance, a value of 90 would roughly equate to a point per every 90 meters. |
ncpu |
Number of CPUs to use for calculating flowpath removal for larger (i.e. greater than 50) number of flowpaths. Default is the number of cores available minus one. |
seed |
Random seed to ensure reproducibility of sample point creation across runs. Default set to 23. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.