search for: fullgrid

Displaying 3 results from an estimated 3 matches for "fullgrid".

2004 Mar 11
2
Questions about spatial data
Hi, I have two questions about spatial data. 1) I have this grid x <- rep(c(1:8),c(rep(6,8))) y <- rep(c(1:6),8) I need to make some others grids with same length and different numbers of points whit a random spatial pattern. How is the best method to make this in R. 2) I need to produce some grids with the same numbers of points in different degrees of aggregation, the level of
2011 Sep 14
1
S4 method dispatch
...thing are called with a subclass of Spatial, e.g. an object of class SpatialGrid, but when this gets in doNothing, the object is suddenly of class Spatial, and is then returned as an object of class Spatial, which should never happen. For instance, I have a case where consistently setMethod("fullgrid", c("Spatial"), function(obj) { is(obj, "SpatialGrid") }) > class(g) [1] "SpatialGrid" attr(,"package") [1] "sp" > fullgrid(g) [1] FALSE is obviously false, but in other cases it works fine. When I change the signature of doNothing...
2008 Aug 05
4
LIDAR Problem in R (THANKS for HELP)
...ha=c(135, 45)) v.fit = fit.variogram(v, vgm(psill = 1, model="Gau", range=1800, nugget= 0, anis=c(135, 0.5))) plot(v, v.fit, plot.nu=F, pch="+") # create the new grid new.grid <- spsample(subground, type="regular", cellsize=c(1,1)) gridded(new.grid) <- TRUE fullgrid(new.grid) <- TRUE new.grid a grid #using Universal Kriging subground.uk = krige(log(Z)~X+Y, subground, new.grid, v.fit, nmax=40) #ERROR