[R] What value to put in range when I make kriging interpolation?

2013-02-17 Thread DIMITRIS KARAKOSTIS
Hi, I am trying to make an automatic kriging interpolation algorithm.When I use the fit.variogram function what would it be a good startingvalue for the range? ThanksDimitris [[alternative HTML version deleted]] _

[R] FW: How to make Ordinary Kriging using gstat predict?

2012-12-17 Thread DIMITRIS KARAKOSTIS
> > > Thanks for the answer. I have already read the gstat manual and I had > constructed the empirical and theoretical variogram like this: g <- gstat(id="tec", formula=TEC ~ 1, data=data)v <- variogram(g)mod<-vgm(sill=var(data$TEC),model="Sph",range=200,nugget=10)v.fit <- fit.variogram(v,

Re: [R] How to make Ordinary Kriging using gstat predict?

2012-12-17 Thread DIMITRIS KARAKOSTIS
Thanks for the answer. I have already read the gstat manual and I had constructed the empirical and theoretical variogram like this: g <- gstat(id="tec", formula=TEC ~ 1, data=data)v <- variogram(g)mod<-vgm(sill=var(data$TEC),model="Sph",range=200,nugget=10)v.fit <- fit.variogram(v, model=mod

[R] How to make Ordinary Kriging using gstat predict?

2012-12-17 Thread DIMITRIS KARAKOSTIS
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

[R] Can I run rscript with php?

2012-12-09 Thread DIMITRIS KARAKOSTIS
HiThanks for the answer.My actual problem is that I am trying to execute rscript through php by using the exec function.I am trying to execute a very simple Rscript by using PHP and the exec function.When I run the rscript through terminal (mac osx) then I get the output that I want (a plot).Bu

[R] Where is located the rscript in mac osx??

2012-12-09 Thread DIMITRIS KARAKOSTIS
Dear all, I have a very simple question. I am trying to find where islocated the rscript in mac os x. The r is installed in the applications folderbut I can not find the rscript. Thank you.Dimitris [[alternative HTML version deleted]] _