roughness_from_topo: Extract roughness from topography

Description Usage Arguments Examples

View source: R/obs.R

Description

Supplied with a data frame with fields x, y and z, this function bins the data into boxes of length ds and returns a data frame where z is now the estimated roughness, given by the lof of the standard deviation of the topography in the boxes.

Usage

1

Arguments

df

data frame with columns x, y and z

ds

the grid size required

Examples

1
2
df <- data.frame(x=runif(1000),y=runif(1000),z=runif(1000))
df_roughness <- roughness_from_topo(df,ds=0.1)

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.