Displaying 20 results from an estimated 800 matches similar to: "geoR vector length error"
2003 Feb 13
3
OO programming in R
Dear,
I'm looking for some examples on OO programming in R. I have the
programming manual with explanation on UseMethod and NextMethod but I
miss some practical examples to get me going (I hope). I searched the
web but could not find a good independent tutorial on this.
Any suggestions are welcome,
Kris
--
------------------------------------------------------------------------
2002 Dec 11
2
Can't find nls()
Hi,
I looked for the nls() function and couldn't find it. In the refman.pdf
it's mentioned as part of the nls package which I cannot find and I also
read something about the MASS package, also impossible to find for me.
Kris
--
------------------------------------------------------------------------
http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=krisn
2002 Nov 22
4
Use of variables to reference to objects
Hi,
I'm new to R and looking for a way to use a variable to reference to an
object.
I'm plotting several graphs on top of each other and want to do this by
a for loop. The field I want to graph have names like a1,a2,a3, ...
I can't figure out how to get this working:
It should look like this:
lines(spectral$Wavelength,paste("spectral$a",j,sep=""),col=j)
but
2003 Apr 22
1
read.table and decimals
Dear,
We are trying to read an asciifile using the read.table() function and
discovered that only 4 decimals are read. Any idea how to get more decimals?
Kris
--
------------------------------------------------------------------------
http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=krisn
------------------------------------------------------------------------
Minds are
2003 Aug 14
1
Contouring irregular xyz data via TIN
Dear,
I have XYZ data available in a MySQL database. I get it out, can plot
the data with the plot() function, load it into a geoR datastructure.
But what I actually would like to do is a simple contouring of the data
based on a no Kriging interpolation such as TIN based.
I know the first thing I shold do is interpolate a full matrix for the
region I have my points for, then contour should
2002 Dec 01
1
Logistic regression
Hi,
I can't figure out how to get the P-values out of the summery of a logistic
regression. I used:
logit.out <- glm(...)
and then I should be able to extract just the P values for the coefficients.
Any idea?
Kris
--
------------------------------------------------------------------------
http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=krisn
2005 Dec 13
1
bug in geoR (?)
I've enconuntered this problem with the last cran version of geoR:
> library(geoR)
> day <- rep(1:2, each=5)
> coords <- matrix(rep(runif(10),2), 10, 2)
> data <- rnorm(10)
> data[1] <- NA
> as.geodata(cbind(coords, data, day), realisations=4)
as.geodata: 1 points removed due to NA in the data
Errore in as.geodata(cbind(coords, data, day), realisations = 4) :
2003 Feb 11
2
geoR question from new R user
Hi,
I'm a new R user. My goal is to do a variogram using geoR.
I started by trying to do the example in the geoR Illustrative Session
using my own data.
I am able to read in my Ascii data using: D <- matrix(scan("file.dat",
n=530*3), 530,3, byrow=TRUE).
Then I use: as.geodata(D, coords.col=1:2, data.col=3) to make the
object D geodata.
I check the descriptive statistics,
2006 Jun 02
1
geoR, plot of variog4 lines incomplete
I'm using R for Mac OSX version 1.14 (2129) and the geoR package
version 1.6-5 (the current version in the R repository). I'm running
R in OS 10.4.6 on a Mac G4 iBook (933MHz, 640 MB DDR SDRAM). I
searched the R archive and did not find a posting on this issue.
I want to use the variog and variog4 functions of geoR to
characterize the pattern of spatial autocorrelation of tree
2008 Aug 18
1
GeoR model.control - defining covariates at prediction locations
Hi,
Im using geoR and I'm trying to do some predictions, based on an external
trend.
I'm having some problems specifying my model.control, specifically how do I
define my model, and also the source of the covariate data at the prediction
locations?
I am assuming that the covariate data at the prediction locations should be
imported to a geodata object along with the prediction location
2008 Aug 15
1
Strange error message from geoR´s likfit () lik. max. func.
ComRades:
I am geeting the error message
Error in ldots[[which(MET)]] : attempt to select less than one element
when I try to fit the geostatistical model with the likfit() function of
geoR.
I have tried with old data for which likfit() successfully maximised the
likelihood in previous versions of geoR, and yet the current version
fails.
I have tried in Windows Vista and Windows XP (I haven't
2003 Sep 10
1
geoR variogram problem
Dear GeoR-er,
If I use the variog function in the latest release of geoR, the first lag is
always ignored.
For instance, if you read in geodata, calculates the variogram using the
variog function and give in a uvec like uvec=seq(0,max,by=2.44), it only
starts giving results from distance=4.88 and ignores 2.44!
This wasn't the case in former versions of geoR. Is this done on purpose?
Why?
2003 Aug 21
2
Read date for timeserie object
Dear all,
Is there a simple trick to read in data with the following format and
create a Time Serie object of it?
Date CountOfField2
5/10/1998 7
5/11/1998 5
5/12/1998 2
5/14/1998 1
5/15/1998 1
5/19/1998 1
5/20/1998 1
5/21/1998 1
5/24/1998 2
5/25/1998 1
5/26/1998 2
....
2002
...
R should recognize that some dates are not available...(NA). You can
define start and end date Ok, and frequency= 365
2003 Aug 11
0
tsdiag and tsStructure for np,ns,nt and nl determination
Hi R-Helpers,
I'm dealing with the STL procedure and trying to apply the tsdiag and
StructTS onto the ts object to analyse the different parameters which
need to be set. How can I use the tsStructure & tsdiag to create a
seasonal, trend and cycle subseries plot so that I can select & analyse
the correct np,ns, nt and nl?
The problem is that too much signal goes into the seasonal
2003 Sep 01
2
readcsvIts() to create irregular time series
Dear,
Thanks for the previous tips about 'its' for importing the following
data.
5/10/1998,7
5/11/1998,5
5/12/1998,2
5/14/1998,1
5/15/1998,1
5/19/1998,1
5/20/1998,1
1. When using the following command;
test<-readcsvIts('Fires98.csv',informat=its.format("%m/%d/%Y"),header=FA
LSE)
the function reads in the data from the csv file as;
V2
05/10/1998 7
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
2008 Aug 12
1
Geodata object border
Sorry, this is probably quite an easy question, but I'm new to R and couldn't
find the answer anywhere.
I'm using geoR and geoRglm, but can't figure out how to get a border in my
geodata object. Does this need to be defined when I'm importing my data, or
afterwards, and how do I go about doing this?
Thanks
--
View this message in context:
2013 Aug 06
2
data.frame
Hola Javier,
si, y es un factor de Y. Pero ya entendí lo que tenía mal, me falta
convertir Nt a valores de geodata antes de hacer el plot, es decir:
date<-as.geodata(Nt)
plot.geodata(date)
Con relación a la actualización de mi versión de R, no me he animado porque
he tenido problemas con paquetes que no tienen las actualizaciones y no me
corren bien.
Gracias y saludos
Beatriz
2013/8/6
2008 Jun 26
0
geoR : Passing arguments to "optim" when using "likfit"
Hi everyone !
I'm am trying to fit a kriging model to a set of data. When I just run the "likfit" command I can obtain the results. However when I try to pass additional arguements to the optimization function "optim" I get errors. That is I want to obtain the hessian matrix so matrix (hessian=TRUE).
Heres a little example( 1-D). Can anyone shed some light? Where am I
2008 Jun 26
0
geoR : Passing arguments to "optim" when using "likfit"]
Mzabalazo Ngwenya wrote:
> Hi everyone !
>
> I'm am trying to fit a kriging model to a set of data. When I just run
> the "likfit" command I can obtain the results. However when I try to
> pass additional arguements to the optimization function "optim" I get
> errors. That is I want to obtain the hessian matrix so matrix
> (hessian=TRUE).
>