Derive near-channel statistics: "median","mean", "min", "max", "sd", "skew"

near_channel_stats(i, .ls, .lines, .stat, bf = 100)

Arguments

i

numeric, indice

.ls

a RasterStack of terrain analysis rasters, passed from get_stats_df()

.lines

a SpatialLinesDataFrame, passed from get_stats_df()

.stat

character, list of statistics to derive, passed from get_stats_df()

bf

numeric, size of the riparian buffer, default to 100 m

Value

a numeric vector of statistics