Re: [R-sig-Geo] Coordinate/grid for ncdf data

2007-08-10 Thread Thomas Szegvary
define the other dimensions, but that didn't work. Many thanks Thomas -Ursprüngliche Nachricht- Von: David Pierce [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. August 2007 18:25 An: Thomas Szegvary Cc: 'Michael Sumner'; r-sig-geo@stat.math.ethz.ch Betreff: Re:

Re: [R-sig-Geo] Coordinate/grid for ncdf data

2007-08-08 Thread Thomas Szegvary
. Thanks,thoams -Ursprüngliche Nachricht- Von: Michael Sumner [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 9. August 2007 01:49 An: 'Thomas Szegvary'; r-sig-geo@stat.math.ethz.ch Betreff: RE: [R-sig-Geo] Coordinate/grid for ncdf data Hi, can you provide an example file? I&#

[R-sig-Geo] Coordinate/grid for ncdf data

2007-08-08 Thread Thomas Szegvary
var.ncdf) doesn't work, because it says I am trying to "error: you asked to write 111788329 values, but the passed data array only has 10573* entries!". So I think the problem is that I need an array with two dimensions (coordinates...) for my values. But how do I get this from my

[R-sig-Geo] Get lm formula

2007-07-23 Thread Thomas Szegvary
a and b I couldn't extract the values like for r-square. I can check the values using coef(lm), but to be able to write it as text to the plot I should extract the values, am I right? Or is there a better solution? Does anyone has an idea? I couldn't find any yet... Thanks a lot,Thoma

Re: [R-sig-Geo] Adding R-square to linear regression

2007-07-20 Thread Thomas Szegvary
mmary(lm4)$r.squared,3))),col="red",cex=0.7) Thomas __ Thomas Szegvary Institute of Environmental Geosciences Department of Geosciences University of Basel Bernoullistrasse 30 CH - 4056 Basel Tel. 41-61-267 04 82 Fax. 41-61-267 04 79 Email: [EMAIL PROTECTED] www.radon.unibas.c

Re: [R-sig-Geo] Adding R-square to linear regression

2007-07-20 Thread Thomas Szegvary
except for the R^2 symbol...I found that problem else where too, but have no solution yet. __ Thomas Szegvary Institute of Environmental Geosciences Department of Geosciences University of Basel Bernoullistrasse 30 CH - 4056 Basel Tel. 41-61-267 04 82 Fax. 41-61-267 04 79 Email: [EMAIL

[R-sig-Geo] Adding R-square to linear regression

2007-07-20 Thread Thomas Szegvary
i have to do this for a lot of datasets, I want to compare the R-square and therefore would like to add the R-Square to the plot automatically. I have checked faq and a lot of r-sig-geo messages but haven't found a solution, for this I think trivial problem. Does someone knows a code for this? Many

[R-sig-Geo] ascii grid from arcgis

2007-06-18 Thread Thomas Szegvary
sting comand to plot that type of grid? or do I have to (re)define the grid? Thanks a lot for any help Thomas -- Thomas Szegvary Environmental Geosciences University of Basel Bernoullistrasse 30 CH-4056 Basel Switzerland Tel. ++41-61-267 04 Fax. ++41-61-267

[R-sig-Geo] Geographical coordinates

2007-06-18 Thread Thomas Szegvary
ks Thomas __ Thomas Szegvary Institute of Environmental Geosciences Department of Geosciences University of Basel Bernoullistrasse 30 CH - 4056 Basel Tel. 41-61-267 04 82 Fax. 41-61-267 04 79 Email: [EMAIL PROTECTED] www.radon.unibas.ch www.unibas.ch/environment ___

[R-sig-Geo] Adding map to filled.contour

2007-06-15 Thread Thomas Szegvary
Hi there I have a filled.contour and want to add a the contours of a shapefile (i.e. European boarders). I tried to do this with the map library, but didn't succed using par(new=TRUE) to add the boundaries, the filled.contour is not a plot says R. What else can I do? Thanks,Thomas __ T

[R-sig-Geo] Plots from netcdf file

2007-06-13 Thread Thomas Szegvary
,5,100] and tried to produce a contour plot. But I always have the following error message: > filled.contour(lon,lat,z100) Error in filled.contour(lon, lat, CO2.100) : increasing 'x' and 'y' values expected What can I do? Thanks a lot Thomas __ Thomas Szegvar

[R-sig-Geo] Points2grid() from spatial points

2007-06-13 Thread Thomas Szegvary
ng message: grid has empty column/rows in dimension 2 in: points2grid(europe.points) Thanks a lot Thomas __ Thomas Szegvary Institute of Environmental Geosciences Department of Geosciences University of Basel Bernoullistrasse 30 CH - 4056 Basel Tel. 41-61-267 04 82 Fax. 41-61-267 04 79 E

[R-sig-Geo] gridding

2007-06-05 Thread Thomas Szegvary
o use an ESRI shapefile, which I sampled using spsample(shp, type = "regular", cellsize = 1000) and then gridded using makegrid(), SpatialPoints() and gridded()=TRUE Hmm. May someone help to find the problem? Thanks,Thomas __ Thomas Szegvary Institute of Environmental Geosciences De