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?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top