Description Usage Arguments Value Author(s) References See Also Examples
Creates orthogonal regular mesh inside cross-section.
1 | sit_sample(data, grid_size)
|
data |
Data must be in format: data.frame. In data there must be columns: Loc, Depth, MeasD, Vel. Means: Loc - "x" location of point from the bank of the stream [meters], Depth - depth of vertical of measuring point [meters], MeasD - depth of measuring point in vertical [meters], Vel - measured point velocity [m*s^(-1)]. Gauging verticals must be in order from the lowest value of "x" location to highest "x" location or from the highest value of "x" location to the lowest value of "x" location. |
grid_size |
size of grid of the mesh, in [m] |
SIT |
coordinates of points in mesh |
POLYGONCS |
polygon of cross-section plane |
Eliška Friedlová (Hasníková)
Pebesma, E.J., R.S. Bivand, 2005. Classes and methods for spatial data in R. R News 5 (2), https://cran.r-project.org/doc/Rnews/.
Roger S. Bivand, Edzer Pebesma, Virgilio Gomez-Rubio, 2013. Applied spatial data analysis with R, Second edition. Springer, NY. http://www.asdar-book.org/
Matt Dowle and Arun Srinivasan (2018). data.table: Extension of 'data.frame'. R package version 1.11.0. https://CRAN.R-project.org/package=data.table
The function uses packages sp
and data.table
1 2 | grid_size = 0.1
sit_sample(data_02, grid_size)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.