How to generate a random field with truncated marginal distributions?
-
27-11-2021 - |
Question
Is there an R package or functions which can generate a random field with truncated distributions?
I am trying to simulate a lognormal spatial random field but I need the simulated value in a certain range. So I need some easy to use functions to generate a truncated Gaussian field to start with. To be specific, I need a function like GaussRF
from the RandomFields package or grf
from the geoR package to generate a random field with truncated marginal distributions and a correlation structure with a specified range direclty.
If there is no availabe read-to-use functions or packages,is it possible that I write my own very easily?
Pas de solution correcte
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow