View source: R/Rimplementation.R
soilmdistribute | R Documentation |
The function 'soilmdistribute' spatially distrubutes soil moisture by the Bevan and Kirkby topographic wetness index
soilmdistribute(micro, tfact = 1.5)
micro |
an object of class microin as returned by e.g. modelin |
tfact |
coefficient determining sensitivity of soil moisture to variation in topographic wetness |
a 3D array of soil moistures with the same x and y dims as 'dtm' and z equivelent to length(soilm)
micropoint <- runpointmodel(climdata, 0.05, dtmcaerth, vegp, soilc)
micropoint <- subsetpointmodel(micropoint)
micro <- modelin(micropoint, vegp, soilc, dtmcaerth)
micro <- soilmdistribute(micro) # default tfact
plot(rast(micro$soilm[,,1]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.