sit_sample: Function for use of interpolation methods in the stream...

Description Usage Arguments Value Author(s) References See Also Examples

Description

Creates orthogonal regular mesh inside cross-section.

Usage

1
sit_sample(data, grid_size)

Arguments

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]

Value

SIT

coordinates of points in mesh

POLYGONCS

polygon of cross-section plane

Author(s)

Eliška Friedlová (Hasníková)

References

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

See Also

The function uses packages sp and data.table

Examples

1
2
grid_size = 0.1
sit_sample(data_02, grid_size)

houbysvoctem/StreamDischarge documentation built on May 9, 2019, 7:33 p.m.