Displaying 2 results from an estimated 2 matches for "spatialy".
Did you mean:
spatially
2004 Dec 29
1
about image(graphics) function
Hi all,
is it possible to modify the way a graph obtained
through image(graphics) is filled, I mean starting
filling the graphical matrix by row from the
upper-left rather than by the lower-left cell... In
many cases, it can be usefull to have a representation
of the data spatialy corresponding to a real support,
as it is the case with the function image(marray) from
Bioconductor packages, which fills the graphical
matrix by row from upper-left, but just handles
marrayRaw or marrayNorm objects. Of course, I could
reorder the matrix, but it's heavier than with an
already...
2007 Jun 06
1
spgrass6 and aggregation (bis)
...apname_in_grass")
# 2) a catchment map which divide the area in several catchements
catchment<-readRAST6("catchement_mapname_in_grass")
# 3) a precipitation map
precipitation<-readRAST6("precipitation_mapname_in_grass")
# then I would like to sum the precipitation spatialy over each catchment
and landuse. So, first I cbind all maps with cbind
MAP<-cbind(landuse,catchment,precipitation)
# then I use the aggregate function
SUM<-aggregate(MAP[3],by=list(MAP[1],MAP[2]),sum,na.rm=TRUE)
# here is the problem !!!
Error in as.vector(x, mode) : invalid argument 'm...