ber of diagnostics on the function to determine that indeed the correct
parameters were being used. All looks good.
From:
"Robert J. Hijmans"
To:
Diann J Prosser
Date:
03/13/2012 12:08 PM
Subject:
Re: [R-sig-Geo] apply monte carlo simulation for each cell in a matrix
(originally ras
Robert, thank you very much! I believe this sets me on the right path.
2 issues I'm looking into:
1) I do receive an S4 error after the as.matrix(x) step:
> as.matrix(x)
/Error in as.vector(data) :
no method for coercing this S4 class to a vector/
2) Perhaps related, I'm not sure if I'm losin
Diann,
A good way to start would have been to provide a function that works for
one cell, I had to do some guessing now, but I think the below should point
into the direction of a solution.
library(raster)
library(rgdal)
library(mc2d) #load package
# you can directly read the ArcGRID files using
Hi all,
I hope you forgive me for this cross-post. I requested help a few days ago
on the general R-help board but haven't received a response. I think that a
solution can most likely be answered by someone familiar with working with
large spatial datasets.
I have raster datasets exported from Ar