INLAutils icon indicating copy to clipboard operation
INLAutils copied to clipboard

Nice way to plot mean and stdv of spatial projection

Open timcdlucas opened this issue 7 years ago • 0 comments

http://people.bath.ac.uk/fl353/isba/isbaspde.R

levelplot(row.values=proj$x,
          column.values=proj$y,
          x=inla.mesh.project(proj,
          inla.result$summary.linear.predictor$mean[index[mesh.index$field.repl==1]]),
          xlim=c(0,1),
          ylim=c(0,1),
          col.regions=cp, at=at+5,
          aspect="iso",
          contour=FALSE, labels=FALSE, pretty=TRUE,
          xlab=NULL,ylab=NULL,scales=list(draw=FALSE))

timcdlucas avatar Jul 27 '16 15:07 timcdlucas