Displaying 20 results from an estimated 1000 matches similar to: "gstat---2 basic plot questions"
2007 Jan 05
1
gstat package. "singular" attibute
Hello,
I'm using the gstat package within R for an automated procedure that
uses ordinary kriging.
I can see that there is a logical ("singular") atrtibute of some
adjusted model semivariograms:
.- attr(*, "singular")= logi TRUE
I cannot find documentation about the exact meaning and the implications
of this attribute, and I dont know anything about the inner calculations
2009 Mar 24
1
Variogram with Gstat
Dear all can you help me? i have this problem: i have a dataset in a text file
in a matrix of 3 columns: x, y, z where x and y are the coordinates and Z are
the mesurements. How can i do a variogram with R?
2003 Mar 07
1
REML option in gstat
Hi, please help!!
I've been trying to fit variogram models using the REML method in the gstat
package. Every time the Windows GUI crashes. For example
library(gstat)
data(meuse)
x <- variogram(zinc ~ 1, ~x + y, meuse)
v <- vgm(140000, "Sph", 800, nug = 10000)
plot(x, model = fit.variogram(x, model = v, fit.method=5))
Other fit methods are non problematic (eg. fit.method=7
2009 Jun 10
2
plot two variograms on a same graph
Hi,
I would know how to plot two variograms on a same graph. I can plot one by one but I would draw both on the same one.
Is it possible? Do i need any special package?
Thanks!
Cordialement
Damien Landais
2008 Apr 01
1
spatial cross-correlation
Hi;
I cannot find in the R html documentation a way to evaluate
cross-correlation in 2D data sets.
I would like to evaluate cross-correlation in a series of moving windows
between two maps.
i,e, specify several windows inside the complete 2D spatial matrixes and
for each one ofthese windows evaluate the 2D cross-correlation (commonly
conducted in the spectral domain).
Thanks in advance and best
2006 Aug 20
3
plot problem
Hello.
I'm pretty much new to R and I'm trying to produce some figures.
It seems to me, that R has some asynchronous way of plotting figures.
When I run this code:
#constructs the semivariogram of SC1929
vgm1 <- variogram(SC1929~1,~U+V,puerto.map$att.data)
# trying to make new plot
dev.set(which=dev.next())
plot(vgm1)
title(main="Semivariogram",font.main=4)
2005 Jun 10
1
In connection with the creation of a grid of point with gstat
Hi ALL,
With the pakage gstat
How can one create a grid of points as in the meuse.grid example, from
measuring sites as in the Meuse example
Thanks in advance!
Alain PONSERO
Conservateur
Réserve Naturelle de la Baie de Saint-Brieuc
site de l'Etoile
22120 HILLION
tel/fax : 02.96.32.31.40
<mailto:aponsero@cabri22.com> aponsero@cabri22.com
2006 Apr 25
3
persp plot increasing 'x' and 'y' values expected
hello,
i do the following in order to get an persp-plot
x<-c(2,2,2,2,2,2,3,3,3,3)
y<-c(41,41,83,83,124,166,208,208,208,208)
z<-c(90366,90366,92240,92240,92240,96473,100995,100995,100995,100995)
x<-data$x
y<-data$y
z<-matrix(data$z,length(y),length(x))
persp(x,y,z, col="gray")
but i always get the error message increasing 'x' and 'y' values
expected,
2006 Nov 24
2
plot() and Jpeg() increase font size and resolution
Dear list,
I am having troubles increasing the fontize when plotting a
variogram{gstat} and its model (vgm) with plot and using jpeg(). Also
the resolution in the jpeg call does not work. I am using R2.4 on
Mandriva 10.2 linux.
I can change fontsize with cex.axis in a normal plot, so I presume it
has to do with plotting the variogram model. Any help on how to increase
the font size and
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
I uploaded gstat 0.9-12 to CRAN, which has a few important changes:
1. Cokriging cross validation
Cokriging cross validation is now possible with the function gstat.cv:
you simply pass a multivariable gstat object, and cross validation is done
for the first variable in the object. Optionally, secondary variable
records
at locations coinciding with the validation locations are removed.
2. Class
2004 Jun 16
0
gstat 0.9-12: cokriging cross validation and class name incompatibilities
I uploaded gstat 0.9-12 to CRAN, which has a few important changes:
1. Cokriging cross validation
Cokriging cross validation is now possible with the function gstat.cv:
you simply pass a multivariable gstat object, and cross validation is done
for the first variable in the object. Optionally, secondary variable
records
at locations coinciding with the validation locations are removed.
2. Class
2006 Jan 10
0
new gstat version
Soon on CRAN a new version of package gstat will emerge, which
has a few minor changes and possible incompatibilities w.r.t. the
previous version(s).
The new gstat (0.9-23) now:
+ depends on sp, and uses internally with Spatial* classes from sp
if data are provided in the old-fashoned way (as data.frame)
+ has a vignette to get you started with the classes in sp
+ defines krige as a generic;
2006 Jan 10
0
new gstat version
Soon on CRAN a new version of package gstat will emerge, which
has a few minor changes and possible incompatibilities w.r.t. the
previous version(s).
The new gstat (0.9-23) now:
+ depends on sp, and uses internally with Spatial* classes from sp
if data are provided in the old-fashoned way (as data.frame)
+ has a vignette to get you started with the classes in sp
+ defines krige as a generic;
2006 Jun 03
1
default value for cutoff in gstat variogram()
I wonder what is the default value for the argument 'cutoff' when not
specified in the variogram.formula function of gstat. Computing
variogram envelops within gstat, I am comparing the results obtained
with variog in geoR and variogram in gstat, and it took me a while
before understanding that the cutoff default value is not the maximum
distance.
Can Edzer tell us about it?
All the
2012 Dec 17
1
How to make Ordinary Kriging using gstat predict?
Hi,
I am new in R and trying to implement an algorithm which makes ordinary kriging by using gstat library and the predict method.
I use the predict method as following:
First, I create an object g:
g <- gstat(id="tec", formula=TEC ~ 1, data=data) ## Create gstat object called g
And then I use this object in the predict.
p <- predict.gstat(g, model=mod, newdata=predGrid,
2003 Jun 26
1
krige in gstat() package
HI,
I wonder does anyone have experience with doing sequential gaussian
simulation with krige() function in gstat?
I find it VERY slow compared to use krige() to achieve kriging function
itself.. I wonder why, is that because it has to model the variogram, and
do the kriging separately for each point to be simulated?
so it would be N times slower to achieve the simulation than the kriging
if
2011 Jan 23
1
Gstat error message.
Hi,
I am a student at the University of Twente ( ITC).
I am using the R packages for my data analysis, but for the last few weeks now , I have been getting the error message when trying to work on variograms or krigging.
Error : .onLoad failed in loadNamespace() for 'gstat', details:
call: fun(...)
error: .Random.seed is not an integer vector but of type 'list'
Error:
2011 Nov 16
0
calculating variograms (gstat) with large data sets
Dear all,
I am aiming to calculate variograms using variogram() from gstat.
The problem is that some of my data-sets are very large (> 400000 points).
Running the command takes some hours of time and does not give any
error-message.
Nevertheless the result seem not to be appropriate - the first few bins
are ok (up to a distance of about 300) but then it gains lags which are
much larger than
2017 Sep 24
1
R version 3.3.2, Windows 10: gstat package: Error in fitting a variogram model using 'fit.variogram' function
Dear Members,
I am trying to fit a variogram model using fit.variogram function from the gstat package. The figure showing my experimental variogram can be seen here: https://i.stack.imgur.com/UZXw4.png
My code line for this operation is:
> c2.vgm.fit<-fit.variogram(c2.vgm.exp,vgm(nugget=0, psill=400,model="Exp",range =40000),fit.method = 7)
The system throws following error
2007 Oct 05
1
using spplot (sp package) with 5 quantiles
Hi,
I'm using R 2.5.1 and gstat 0.9-39 library and I'm working with the
jura data set provided by gstat library.
I tried to plot a graph of metal concentrations (let's say Cd) with
the command spplot, but I realized that the default lags are equally
distributed between Min and Max. I did:
library(gstat)
data(jura)
jura.pred.xy <- jura.pred
names(jura.pred.xy)[1:2] <-