Re: [R-sig-Geo] Regression kriging - error not found when ordinary kriging

2013-11-20 Thread Ashton Shortridge
the regression was worked > out for each prediction location. > > Thanks again. > > Regards > > Jordan > > On 18 November 2013 03:40, Ashton Shortridge wrote: > > Hi Jordan, > > > > I always use the 'data' parameter when kriging. Here's how

Re: [R-sig-Geo] Regression kriging - error not found when ordinary kriging

2013-11-18 Thread Ashton Shortridge
;> > >> TotalRegKrige <- krige(Total~m5005CVOL+n50010CVOL+n50015CVOL+DTM, > >> locations=bd, newdata=blank, model=fit_r) > >> > >> The problem seems to be in the "newdata" when regression kriging > >> (replacing > >> "

Re: [R-sig-Geo] calculate the area of an alpha shape

2013-11-04 Thread Ashton Shortridge
ordinates in ashape > bds <- rbind(bds, bds[1,]) # close the ring > ashape <- Polygon(bds) # convert to sp Polygon > ashapearea <- ashape@area > ashapearea > > > > > Ir. A.S.J. van Proosdij > PhD Student > t +31 317 48 1198 > e andre.vanproos

Re: [R-sig-Geo] calculate the area of an alpha shape

2013-11-04 Thread Ashton Shortridge
lt;mailto:andre.vanproos...@wur.nl> > > Naturalis Biodiversity Center, section NHN > Biosystematics Group, Wageningen University > Gen. Foulkesweg 37, 6703 BL Wageningen, the Netherlands > > www.bis.wur.nl<http://www.bis.wur.nl/> > > > [[alternati

Re: [R-sig-Geo] gstat anisotropy : multipanel plotting of experiment and model

2013-10-17 Thread Ashton Shortridge
[[alternative HTML version deleted]] > > _______ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo - Ashton Shortridge Associate Professor ash...@msu.edu Dept of

Re: [R-sig-Geo] spConvert - lcc to longlat (unable to find the right coordinates after conversion)

2013-08-13 Thread Ashton Shortridge
hought 1) it would affect the output rather than > take account of the input, and 2) it still did not resolve my being to far > south. Any info, or a point in the direction of a useful resource would be > greatly appreciated. > > Best Regards, > Marvin Ward Jr. > Fiscal Ana

Re: [R-sig-Geo] basic question

2013-05-22 Thread Ashton Shortridge
very beginner at R. > > without replacement, my script works... > > h<-dados[sample(1:357,20),]# this is ok. from 357 rows, I take 20 ones, > with all columms... How puts the replace=T ? > thanks > katia - Ashton Shortridge Associate Professor

Re: [R-sig-Geo] How to calculate the latlng of a point in a certain distance away from another?

2013-04-18 Thread Ashton Shortridge
][[1]][1],exampleCoords[p][[1]][2])+ } > > I still dont get any results. > > What I am doing wrong? > > Please help me understand. > > Regards > > On Thu, Apr 18, 2013 at 8:28 PM, Ashton Shortridge wrote: > > Dear Endri, > > > > do you simpl

Re: [R-sig-Geo] How to calculate the latlng of a point in a certain distance away from another?

2013-04-18 Thread Ashton Shortridge
> Please help > > Regards > > [[alternative HTML version deleted]] > > ___ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo - Ashton Shortridge Associat

Re: [R-sig-Geo] Problem in regression kriggin

2013-01-08 Thread Ashton Shortridge
t; = > > prk.rich<-krige(Richness~Elev, data=data, newdata=grd,model=fit.sph1) > > Error in function (classes, fdef, mtable) : > unable to find an inherited method for function ‘krige’ for signature > ‘"formula", "missing"’ > > Can anyone hel

Re: [R-sig-Geo] RGDAL PROBLEM IN R-STUDIO

2012-12-04 Thread Ashton Shortridge
n-zero exit status > > The downloaded source packages are in > ق€˜/tmp/RtmpAywZKD/downloaded_packagesق€™ - Ashton Shortridge Associate Professor ash...@msu.edu Dept of Geography http://www.msu.edu/~ashton 235 Geography Building ph (517) 432

Re: [R-sig-Geo] Azimuthal equidistant projection and rgdal

2012-11-13 Thread Ashton Shortridge
possible. > > Thanks a lot for your time. > Johan > > 2012/11/12 Ashton Shortridge : > > Dear Johan (and list), > > > > I'm not a professional cartographer, but I do find myself flipping > > through Snyder's book of map projections every once in a w

Re: [R-sig-Geo] Azimuthal equidistant projection and rgdal

2012-11-12 Thread Ashton Shortridge
arer why people don't normally use azimuthal projections for global mapping. Coincidentally it works sorta kinda ok from the north pole, but don't plan on it working well from other places. Hope this is helpful. Ashton - Ashton Shortridge Associate Professor ash.

Re: [R-sig-Geo] gstat for interpolation

2012-09-07 Thread Ashton Shortridge
e some tips on how I can go about > that? > > many thanks in advance > minti > > ___ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo - Ashton Shortridge Assoc

Re: [R-sig-Geo] transform coordinates

2012-06-21 Thread Ashton Shortridge
2.nabble.com/converting-from-UTM-to-Decimal-degrees- td7563170.html http://r-sig-geo.2731867.n2.nabble.com/Reading-and-projecting-lat-long-point- coordinates-using-R-td2761644.html yours, Ashton - Ashton Shortridge Associate Professor ash...@msu.edu Dept

Re: [R-sig-Geo] trouble importing a .img file from ArcMap 10

2012-04-30 Thread Ashton Shortridge
gt; instead. > > Thanks so much! > Megan > > -- > View this message in context: > http://r-sig-geo.2731867.n2.nabble.com/trouble-importing-a-img-file-from-A > rcMap-10-tp7515387.html Sent from the R-sig-geo mailing list archive at > Nabble.com. > > __

Re: [R-sig-Geo] Implementation of algorithms

2011-11-28 Thread Ashton Shortridge
ritten by Ashton Shortridge, 3-30-2001, 3/2004, 3/2008, 11/2009 # References: # Burrough, P. A., McDonnell, R. A. (1998) Principles of GIS. Oxford Press: Oxford. # Horn, B. K. P. (1981) Hill shading and the reflectance map. Proc. IEEE 69(1): 14-47. calc.slope <- function (z, spacing) {

Re: [R-sig-Geo] IDW example

2011-10-17 Thread Ashton Shortridge
- Downtown > mailto: hodge...@uhd.edu > > > [[alternative HTML version deleted]] > > ___ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo - Ashton Shortridge Associate Professor ash...@msu.ed

Re: [R-sig-Geo] Flow accumulation in R?

2011-09-29 Thread Ashton Shortridge
surface flow variations are implemented in the GRASS GIS, and GRASS can be connected to R, if that is helpful. Check out r.watershed and r.terraflow in GRASS. Yours, Ashton - Ashton Shortridge Associate Professor ash...@msu.edu Dept of Geography ht

Re: [R-sig-Geo] plotting geographic coordinates on a map

2011-07-14 Thread Ashton Shortridge
t; > Rebecca > Hi Rebecca, R is case-sensitive, so assuming you read in that csv file, you would want to refer to the columns with lower-case letters, e.g.: data <- read.csv('myfilename') names(data) # make sure they are what you think they are. data[1:10,]# look at the

Re: [R-sig-Geo] Fuzzy k-means & raster

2011-03-31 Thread Ashton Shortridge
r > >r_class7 <- setValues(r_class5, v_class5) > > > >Many thanks for your advice... > >Andy Wilson > > > >___ > >R-sig-Geo mailing list > >R-sig-Geo@r-project.org > >https://stat.ethz.ch/mailman/lis

Re: [R-sig-Geo] Kernel density plot on a US map

2011-03-22 Thread Ashton Shortridge
nel-density-plot-on-a-US-map-tp6 > 196265p6196265.html Sent from the R-sig-geo mailing list archive at > Nabble.com. > > _______ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo - Ashton Shortridge Associat

Re: [R-sig-Geo] Calculating area of polygons

2011-02-15 Thread Ashton Shortridge
; > How can I figure out if this object has info about SRID? > > Yeah, I may follow your suggestion by comparing the area attributes > and actual size of the area. > > Best > Ronggui > > On 15 February 2011 21:50, Ashton Shortridge wrote: > > Hi Ronggui, >

Re: [R-sig-Geo] Calculating area of polygons

2011-02-15 Thread Ashton Shortridge
February 2011 16:23, Wincent wrote: > >>> Dear all, > >>> > >>> According to > >>> https://stat.ethz.ch/pipermail/r-sig-geo/2009-May/005741.html, > >>> the area of polygon can be accessed by > >>> > >>>> a

Re: [R-sig-Geo] Madogram, rodogram, semi-variogram of satellite imagery

2011-01-23 Thread Ashton Shortridge
that's why I am posting this question to give me a > quick start. > > Thanks and regards, > > Chethan S. - Ashton Shortridge Associate Professor ash...@msu.edu Dept of Geography http://www.msu.edu/~ashton 235 Geography Buildin