Description Usage Arguments Examples
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.
1 | roughness_from_topo(df, ds = 20)
|
df |
data frame with columns |
ds |
the grid size required |
1 2 | df <- data.frame(x=runif(1000),y=runif(1000),z=runif(1000))
df_roughness <- roughness_from_topo(df,ds=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.