Tag Info

New answers tagged

1

This code can be used to create a "Hill slope" DEM of just about any number of rows and columns: # Building a fake hillslope # hisllop is 5 rows by 6 columns x <- seq(-15, 15, by=0.01) z <- 1/(1+1.5^-x) plot(z) z <- 150 - (1-z)*5 plot(z) # Doing it by hand - DELETE if needed - JUST HERE AS AN EXAMPLE!!! elev <- c(mean(z[0:500]), ...



Top 50 recent answers are included