Displaying 20 results from an estimated 300 matches similar to: "Help with Krige.conv using linear models"
2002 Oct 16
0
Ordinary and simple kriging
I'm performing ordinary and simple kriging from a set of non-negative
values:
>krige.control.sk<-krige.control(type.krige="sk",obj.model=my.variogram.model,beta=my.variogram.model$beta)
>sk<-krige.conv(cadiz.geo,data=amostragem.cadiz$dia1.std,locations=as.matrix(cadiz.polygrid[,c(1,2)]),krige=krige.control.sk)
krige.conv: model with constant mean
krige.conv: Kriging
2002 Oct 16
0
[Fwd: Ordinary and simple kriging]
Juan Zwolinski wrote:
>
> I'm performing ordinary and simple kriging from a set of non-negative
> values:
>
>
> >krige.control.sk<-krige.control(type.krige="sk",obj.model=my.variogram.model,beta=my.variogram.model$beta)
>
>
2011 Apr 12
1
How to set the dimension of a matrix correctly?
Hi all,
I use kriging to interpolate the precipitation from stations, but the map of this results show lots of stripes. (please see the attachment)I think there's something wrong with the setting of the dimension of this matrix, however, I have no idea how to know or test to see if this setting is correct or not.I've tried to switch the latitude and longitude, but still got the same
2004 Jan 08
1
Using geoR krige.conv
Hi,
I'm using the function krige.conv from package geoR but I'm getting a
warning that I do not understand:
Warning messages:
1: NaNs produced in: sqrt(variance)
2: NaNs produced in: sqrt(variance)
I'm performimg an ordinary kriging with a log transform (lambda=0).
Does anyone knows where this comes from ?
Thanks and regards
EJ
2003 Jul 24
1
geoR size limit problem
Hi all,
I tried to produce some kriged surfaces with geoR (latest version). The size
of the grid should be around 900 x 650 cells (what I find is not a very big
grid), and the number of points is around 2500. The command krige.conv
stopped after arround 5 min saying it can not allocate a vector with around
1.5 billion units. Sounds reasonable.
Is there a workaround? How would I partition the
2009 Jan 29
0
assign point values as labels in spplot
In the code to follow, I'm trying to label points with their corresponding
values but have been unsuccessful after many variations to the following
code. The code below creates the plot I want, I simply cannot get the black
points ("+") to display the actual value. I'm guessing the problem is
somewhere in the second to last line of code (starts with "pts<-..."). I
2008 Aug 07
0
3d kriging et al
R Users:
...been working with the sp and gstat packages for the past couple of days in an effort to analyze a set of ~ 200 soil samples collected from various eastings, northings, and depths and containing a wide range of measured hydrocarbon concentrations.
Thus far, I've managed to import the data, log-transform the concentrations, assign coordinates, generate and fit a variogram model and
2011 Oct 21
0
nls making R "not responding"
Here is the code I am running:
library(nls2)
modeltest<- function(A,mu,l,b,thour){
out<-vector(length=length(thour))
for (i in 1:length(thour)) {
out[i]<-b+A/(1+exp(4*mu/A*(l-thour[i])+2))
}
return(out)
}
A=1.3
mu=.22
l = 15
b = .07
thour = 1:25
Yvals<-modeltest(A,mu,l,b,thour)-.125+runif(25)/4
st2 <- expand.grid(A = seq(0.1, 1.6,.5), mu = seq(0.01, .41,.1), l=1, b
=seq(0,.6,.3))
2002 Jul 11
0
missing links in GRASS package for R
Dear list,
I get the following error message when installing the package GRASS.
missing link(s): interp.new
missing link(s): vgram Krig predict.Krig predict.se.Krig
See also below for the full installation message.
What does this mean exactly?
Regards, Ulrich
------------------------------------------------------------------
> R CMD INSTALL
2009 Sep 17
0
geoR, variofit
Hello All!
I calculate a variogram using the function variog (package geoR)
afterwards I use variofit to fit a spherical model (see code below).
Now I just changed the units of the variable (in this case MPa to kPa
just a factor of 1000). If I do so, I get a different fit and
therefore different ranges etc. Why? The semi-variance is of course 6
orders of magnitude higher but the values
2002 Apr 16
0
still have problem with krige and border option
Dear all,
I would like to estimate rainfall with the krige function. First, I produce a
polygon of my region of interest (where poly_test.txt is a x,y suite of
points defining a polygon, obtained with the grass v.out.ascii command) :
user>border_limite<-read.table("/home/lionel/rwork/poly_test.txt",header=FALSE)
user>polygone<-list(x=border_limite[,1],y=border_limite[,2])
2006 Jan 05
1
Memory limitation in GeoR - Windows or R?
Dear Aaron,
I am really a tool user and not a tool maker (actually an ecologist
doing some biostatistics)... so, I take the liberty of sending a copy of
this e-mail to the r-help list where capable computer persons and true
statisticians may provide more relevant information and also to Paulo
Ribeiro and Peter Diggle, the authors of geoR..
I really feel that your huge matrix cannot be
2006 Sep 11
3
Extracting overdispersion estimates from lmer amd glm objects
Dear list,
I am needing to extract the estimate of overdispersion (deviance / residual degrees of freedom or c-hat) from multiple model objects - so they can then be used to compare the extent of overdispersion among alternative models as well as calculate qausi-AIC values. I have been unable to do this, despite consulting a number of manuals and searching the R-help. I am imaging that in
2011 Oct 28
0
problem with glsm.krige: trendd and trend l must have similar specifications error
Hello,
I used glsm.mcmc and likfit.glsm to create model. Now I want to predict at different locations, but I can't get glsm.krige to work. I keep getting the error that trend.d and trend.l must have similar specifications. I have tried numerous ways to include the covariates in the glsm.krige model, and I keep getting the same error message. The bolded part is the part that doesn't work.
2010 Nov 22
1
What if geoRglm results showed that a non-spacial model fits?
Hi R-people:
Working in geoRglm, it shows me, according to AIC criterion, that the non-spacial model describes the process in a better way. It's the first time that I'm facing up to.
These are my results:
OP2003Seppos.AICnonsp-OP2003Seppos.AICsp
#[1] -4
(OP2003Seppos.lf0.p<-exp(OP2003Seppos.lf0$beta)/(1+exp(OP2003Seppos.lf0$beta))) #P non spatial
#[1] 0.9717596
2011 Oct 15
0
shoulda installation troubles
I cannot manage to have shoulda working.
I''m using rvm with rails 3.1 and ruby 1.9.2
I added
group :test do
gem "shoulda"
end
to the Gemfile, and then run bundle install, thus the gem is installed,
and it is featured in the list running gem list --local.
but whenever I add something like
class ModelTest < Test::Unit::TestCase
should_not
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
2012 Oct 30
2
issues with krige function
Greetings all,
Ran into a strange problem with the krige function from geoR. The
problem that I am having is that while the krige function seems to
work well, the resulting predicted values are all NAs. Given the size
of the datasets I am working with can't attach it, but I can provide
snippets of the datasets.
> casedata
station year month day obs mpe bias type
2001 Nov 16
1
Memory problems using Krige (sgeostat)
I?m trying to make an estimation of sea-depth for 2000 animal locations
using 2 million depth soundings. The result was:
Cannot allocate vector of size 20351 Kb
I've tried to overcome this problem by making the following adaptations.
-Increased the max-mem-size to 1.5Gb (Thanks to Thomas Lumley for his help)
-Use a max.dist (10km) for the function Krige
-Run the Krige computation for each
2002 Apr 15
2
krige and polygon limit problem
Dear all,
I'm new on R and this mailing list. We work on spatial rainfall estimation
with R and Grass.
We have a problem with the krige function from the sgeostat package. We would
like to limit the estimated area with a polygon limit.
I use a 50 points polygon to describe my work area. The krige function work
quiet well without limit. But if I use this option I have the following error