[R-sig-eco] Request for help

Marcelino de la Cruz marcelino.delacruz at upm.es
Wed Feb 24 12:03:17 CET 2016


Hi Philipova,

meuse.grid is just a data.frame with the coordinates x and y of the 
points where you want to interpolate your variables.

You can easily create one grid for your data with expand.grid. For example:

my.grid<- expand.grid( x= seq(minx, maxx, by=mystepx), y = seq(miny, 
maxy, by=mystepy))


where "minx", "maxx", "miny" and "maxy" are the minimum and maximum 
values for the coordinates  (i.e. the range) of your study area, and 
"mystepx" and "mystepy" are the distance among neighbour points in the x 
and y axis in the grid.

Hope this helps,


Marcelino


El 24/02/2016 a las 11:21, Philipova escribió:
>
> Dear Mr/Madam
> I am interested in Spatial Point Data Analysis. I read spatstat and gstat for this purpose.
> I am reading gstat user' manual and workshop on Spatial Statistic (Baddeley, 2008) and some scientific publications on gstat.
> There are two different approaches of performing interpolation ( inverse distance interpolation, ordinary kriging etc. )  The one is using mask file and the other is using grid variable. I have a problem with creating grid variable. Many authors use meuse data as an example for geostatistics in gstat. No one describes how to create grid variable  for our data which to replace meuse.grid variable.
> I hope you could help me with these problems.
> Thank you so much in advance!
> Kind Regards
> Nina Philipova
>
> ---
> ���� ����� � �������� �� ������ �� Avast.
> https://www.avast.com/antivirus
>
> 	[[alternative HTML version deleted]]
>
>
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>



More information about the R-sig-ecology mailing list