Description Usage Arguments Details
Snap sites to streams and calculate attributes
1 | prepare_sites(sites_map, locid_c = NULL, pid_c = NULL, maxdist = NULL)
|
sites_map |
character; name of sites map (observation or prediction sites)
as created by |
locid_c |
character (optional); column name in the sites attribute table giving a unique site identifier. |
pid_c |
character (optional); column name in the sites attribute table that distinguishes between repeated measurements at a sampling site. |
maxdist |
integer (optional); maximum snapping distance. Sites farther away from edges will be deleted. |
This function is called by calc_sites
and should not be called directly.
Sites are snapped to the streams and upstream distance is calculated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.