Displaying 5 results from an estimated 5 matches for "points2grid".
2010 Jun 25
1
variograms and kriging
...(sp)
library(lattice)
soilpts$x <- soilpts$UTM_X
soilpts$y <- soilpts$UTM_Y
soil.dat <- subset(soilpts, select=c(x, y, Area, BulkDensity, LOI, TP, TN,
TC, Total_Mg))
dim(soil.dat)
[1] 1292 7
coordinates(soil.dat) <- ~ x+y
gridded(soil.dat) <- TRUE
Warning messages:
1: In points2grid(points, tolerance, round, fuzz.tol) :
grid has empty column/rows in dimension 1
2: In points2grid(points, tolerance, round, fuzz.tol) :
grid has empty column/rows in dimension 2
class(soil.dat)
[1] "SpatialPixelsDataFrame"
attr(,"package")
[1] "sp"
> bbox(soil...
2012 Feb 23
1
using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame
...he data from the attribute table in my depth shapefile then importing it into R as a csv file (see my attempts below)
>depth<-read.csv("depthmap.csv")
>pts = depth[c("x", "y")]
>y = SpatialPixels(SpatialPoints(pts))
suggested tolerance minimum: 1
Error in points2grid(points, tolerance, round) :
dimension 1 : coordinate intervals are not constant
> depth<-read.csv("a.csv")
> coordinates(depth) <- c("x", "y")
> points2grid(depth)
suggested tolerance minimum: 1
Error in points2grid(depth) :
dimension 1 : coordinate...
2009 Aug 16
1
How to use your own data in gstat and sp?
...here is what
I see...
> x <- runif(10,1,10)
> y <- runif(10,1,10)
> z <- rnorm(10,0,1)
> MyData <- as.data.frame(cbind(x,y,z))
> library(gstat)
> coordinates(MyData) <- ~x + y
> gridded(MyData) <- TRUE
suggested tolerance minimum: 0.893182669294186
Error in points2grid(points, tolerance, round, fuzz.tol) :
dimension 1 : coordinate intervals are not constant
I've spent way too much time trying to get my data to work. Please help.
Thanks.
--
View this message in context: http://www.nabble.com/How-to-use-your-own-data-in-gstat-and-sp--tp24994744p24994744....
2013 May 17
1
Error with adehabitatHR and kernelbb
Dear all,
I'm trying to get a Brownian bridge kernel (kernelbb) for each combination of two consecutive animal locations (see commands below) and put them, with a loop, inside a list. It works well at the beginning but after 42 runs, it appears the following warning :
>Error in seq.default(yli[1], yli[2], by = diff(xg[1:2])) :
> invalid (to - from)/by in seq(.)
I looked at the
2015 Jun 26
0
Wine release 1.7.46
...d news!' errors when compiling wine with newer Freetype
31757 Adobe Application Manager 6.x/7.x download fails with error code A12E5 (winhttp request headers missing byte range)
32127 Oblivion Launcher crash on start
32214 Shaiya Online (MMORPG, Aeria Games) crashes on startup
32550 Points2Grid crashes on calculation
33831 AliWangwang hangs before login
33849 Multiple 64-bit kernel drivers crash on access to KI_USER_SHARED_DATA range (0xfffff78000000000) (Tages DRM, Comodo Backup)
34112 Skilors Grooveshark Downloader installer crashes
34357 TaxAct 2012 and 2013 crash on startu...