Skip to content

Use estimateAnisotropy by intamap package

2 messages · Yong Li, Edzer Pebesma

#
Dear All,

I tried to inspect the geometric anisotropy by using the function of estimateAnisotropy with parameter "formulaString" in intamap, but never worked.
Any help will be highly appreciated. 

Cheers,

Yong


-----Original Message-----
From: r-sig-geo-bounces at stat.math.ethz.ch ?? r-sig-geo-request at stat.math.ethz.ch
Sent: 2010-4-18 (???) 20:00
To: r-sig-geo at stat.math.ethz.ch
Subject: R-sig-Geo Digest, Vol 80, Issue 18
 
Send R-sig-Geo mailing list submissions to
	r-sig-geo at stat.math.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
	https://stat.ethz.ch/mailman/listinfo/r-sig-geo
or, via email, send a message with subject or body 'help' to
	r-sig-geo-request at stat.math.ethz.ch

You can reach the person managing the list at
	r-sig-geo-owner at stat.math.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of R-sig-Geo digest..."


Today's Topics:

   1. Variogram models in gstat (Sidney Bernal)
   2. Re: Variogram models in gstat (Edzer Pebesma)
   3. Re: sp, area and SpatialPolygons (Roger Bivand)
   4. Re: Help needed with spplot (Thomas Adams)
   5. Re: sp, area and SpatialPolygons (Patrick Giraudoux)


----------------------------------------------------------------------

Message: 1
Date: Sat, 17 Apr 2010 10:37:15 -0500
From: Sidney Bernal <sidney86_115 at hotmail.com>
To: <r-sig-geo at stat.math.ethz.ch>, Sidney Bernal
	<sidney86_115 at hotmail.com>
Subject: [R-sig-Geo] Variogram models in gstat
Message-ID: <SNT117-W61894D6D8AA733D868DD48A70D0 at phx.gbl>
Content-Type: text/plain




Good Morning

Today I make a geostatistics course, so I'm using R 2.10.1 and I am writing to ask the please of the mathematical formulas of the 19 models of covariogram variogram programmed in the gstat package.

   short                                      long
1    Nug                              Nug (nugget)
2    Exp                         Exp (exponential)
3    Sph                           Sph (spherical)
4    Gau                            Gau (gaussian)
5    Exc               Exclass (Exponential class)
6    Mat                              Mat (Matern)
7    Ste Mat (Matern, M. Stein's parameterization)
8    Cir                            Cir (circular)
9    Lin                              Lin (linear)
10   Bes                              Bes (bessel)
11   Pen                      Pen (pentaspherical)
12   Per                            Per (periodic)
13   Hol                                Hol (hole)
14   Log                         Log (logarithmic)
15   Pow                               Pow (power)
16   Spl                              Spl (spline)
17   Leg                            Leg (Legendre)
18   Err                   Err (Measurement error)
19   Int                           Int (Intercept)

Awaiting your prompt response.

Sidney Bernal
sidney86_115 at hotmail.com



Sidney Bernal

 		 	   		  
_________________________________________________________________


e=wlmailtagline



------------------------------

Message: 2
Date: Sat, 17 Apr 2010 18:47:43 +0200
From: Edzer Pebesma <edzer.pebesma at uni-muenster.de>
To: Sidney Bernal <sidney86_115 at hotmail.com>
Cc: r-sig-geo at stat.math.ethz.ch
Subject: Re: [R-sig-Geo] Variogram models in gstat
Message-ID: <4BC9E62F.1090607 at uni-muenster.de>
Content-Type: text/plain; charset=ISO-8859-1

Most of them can be found on page 38 of http://www.gstat.org/gstat.pdf

The Mat / Ste models are e.g. described in M. Stein, "Interpolation of
Spatial Data: Some Theory for Kriging", Springer.

Let me know if there are further descriptions missing.
--
Edzer
Sidney Bernal wrote:
-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



------------------------------

Message: 3
Date: Sat, 17 Apr 2010 21:26:35 +0200 (CEST)
From: Roger Bivand <Roger.Bivand at nhh.no>
To: Patrick Giraudoux <patrick.giraudoux at univ-fcomte.fr>
Cc: Edzer Pebesma <e.pebesma at gmail.com>, r-sig-geo at stat.math.ethz.ch
Subject: Re: [R-sig-Geo] sp, area and SpatialPolygons
Message-ID: <alpine.LRH.2.00.1004172120140.18699 at reclus.nhh.no>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Sat, 17 Apr 2010, Patrick Giraudoux wrote:

            
Patrick,

There is a bug, not not a simple one. The ring direction of your first 
Polygon object signals that it is a hole, but in Polygons(), singleton 
holes are made into islands, and the largest hole in an all-hole list of 
Polygon objects is also made into an island. The bug was that the hole 
vector used for assigning the area had not been updated, so the area slot 
in the Polygons object was assigned 0 (because it was still treated as a 
hole). Had you said hole=FALSE for P1, it would have been OK. The updating 
is now in place.

Thanks,

Roger
-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



------------------------------

Message: 4
Date: Sat, 17 Apr 2010 17:05:03 -0400
From: Thomas Adams <Thomas.Adams at noaa.gov>
To: dylan.beaudette at gmail.com
Cc: r-sig-geo at stat.math.ethz.ch
Subject: Re: [R-sig-Geo] Help needed with spplot
Message-ID: <4BCA227F.1020802 at noaa.gov>
Content-Type: text/plain; charset=windows-1252; format=flowed

Dylan,

Thank you for the suggestion and it did help. But, I think another 
problem is the way spplot handles drawing off-screen. This does not seem 
to be handled well. Ultimately, I was able to find a generalized 
shapefile of the CONUS (48) states; this draws tolerably well. I 
conducted a few little experiments?

I think the moral of the story is to restrict the vector map to the area 
one is interested in and not to be sloppy. I'm still trying to grasp the 
subtleties of v.generalize?

Thanks again,
Tom
Dylan Beaudette wrote:

  
    
#
An example, building on example(estimateAnisotropy), is:

library(intamap)
data(sic2004)
coordinates(sic.val)=~x+y
estimateAnisotropy(sic.val,formulaString=joker~1)

I'd agree that "formula" would have been a better name for the third
parameter than "formulaString", as a string is not allowed here (this
matches the docs, btw). For your convenience,

estimateAnisotropy(sic.val,formula=joker~1)

also works, by R's partial matching of argument names.
--
Edzer
Yong Li wrote: