Thanks Roger.
Roger Bivand wrote:
> On Tue, 5 Jun 2007, Michael Sumner wrote:
>
>
>> Hello,
>>
>> I'm interested in the origin of the idea behind sp's SpatialPixels.
>> What other software/s implement this concept, of storing a sparse grid
>> of pixels?
>>
>
> Directly from the Cells obje
On Thu, 7 Jun 2007, Don MacQueen wrote:
> I don't know enough to assess whether I have a misunderstanding or a mistake.
>
> spsample() with type='random' is giving an error, but succeeding with
> type='stratified'.
>
> Maybe random sampling requires projection information and stratified doesn't
You can also use the library spsurvey to do a random sample using a sp
object or ESRI shapefile. It handles polygons, lines, and point
spatial objects. Does stratified, unequal probability, and spatial
balance.
Anthony (Tony) R. Olsen
AMB Branch Chief
USEPA NHEERL
Western Ecology Division
200 S
I don't know enough to assess whether I have a misunderstanding or a mistake.
spsample() with type='random' is giving an error, but succeeding with
type='stratified'.
Maybe random sampling requires projection information and stratified doesn't?
I may have constructed my SpatialPolygonsDataFrame
If they're SpatialPoints* or SpatialPixels*, use rbind on them. If
they're in a SpatialGridDataFrame, first convert to pixels by
fullgrid(x) = FALSE
then rbind, then back with fullgrid(x) = TRUE
hth,
--
Edzer
Kitty Lee wrote:
> Thanks to Terry and Virgilio, I used both suggestions in creating
Thanks to Terry and Virgilio, I used both suggestions in creating the spatial
simulation. Now I have another question
I have simulate, say, 16 grids separately. Each has its distinct process. How
can I combine (or dissolve) the 16 grids together to form one big study area?
Thanks in advance