[R] Spatial sampling problem
m_olshansky at yahoo.com
Tue Aug 7 07:07:23 CEST 2007
If I understand you correctly you are trying to assign
to each point of a 10x10 2D grid a normal variable
with a certain dependency between the values at each
grid point. Is this correct?
If so, please explain the dependence structure. Do you
need something like X(i,j) = f(i,j) + Z(i,j) for
1<=i,j<=10 where f is a deterministic function and
Z(i,j) are independent normal variables? Or do you
want to assume that Z(i,j) have a multivariate normal
distribution (and can specify the covariance matrix)?
--- sk <sdk0084 at yahoo.com> wrote:
> Hi All,
> I am new in R and trying to simulate random normal
> 2D field with mean trend say north-south. My domain
> is 10x10 grid and I am trying to use mvnorm but do
> not know how to specify the domain and the mean
> I would appreciate any help.
> Cheers, SK
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained,
> reproducible code.
More information about the R-help