Hi!
I am trying to classify satellite image in R using RWeka classifier,
J48. I have a CSV file with the classes required, and raster data
loaded in R. I am able to make the tree, however, I am not able to use
the same tree to classify my satellite image.
Here's how it goes.
inputfile=read.csv("
Dear James,
You should be able to set the prior of your random effects using hyper=
in the call to f(). In your particular case, you can try:
#Create areas IDs to match the values in nc.adj
nc.sids$ID<-1:100
nc.sids$ID2<-1:100
hyper.besag <-list(prec=list(prior="loggamma", params=c(.1, .1)))
hyp
On Mon, 5 May 2014, Rolando Valdez wrote:
Yes, I got it.
Now, I saw an issue in the matrix, I’ve got two regions with value 1
inside the matrix, if it is W style, how is it possible?. The rest of
rows are standardized.
You can "see" it, nobody else can. Are all the rowSums() of the matrix 1
Yes, I got it.
Now, I saw an issue in the matrix, I’ve got two regions with value 1 inside the
matrix, if it is W style, how is it possible?. The rest of rows are
standardized.
Another question, the output follow the order of regions of the shape file,
isn’t?
Thank you
El 04/05/2014, a las 12
Well, thanks for this advice, but actually I already read this page.
What I was looking for is close to the issue proposed in this post by Lionel
:
http://r-sig-geo.2731867.n2.nabble.com/Turning-SpatialPointsDataFrame-to-Raster-using-rasterize-td7582452.html
--
View this message in context:
Hi all,
I am attempting to implement the Besag-York-Mollie model in R-INLA.
Specifically to recreate the WinBUGS model specified in ASDAR fig 11.10.
However I cannot figure out how to specify the spatial and random priors to be
different as they are in the WinBUGS model fig11.10.
i.e. from the