PosteriorMode {Geneland} | R Documentation |
Plots a map giving the modal population as a color code for each pixel.
PosteriorMode(coordinates,path.mcmc,write=FALSE,plotit=TRUE, printit=FALSE,file=NULL,main.title=NULL)
coordinates |
Spatial coordinates of individuals. A matrix with 2 columns and one line per individual. |
path.mcmc |
Path to output files directory |
write |
Logical: if TRUE the modal class of each individual is written in a plain ascci file named posterior.mode.txt |
plotit |
Logical: if TRUE the map is plotted |
printit |
Logical : if TRUE, figures are also printed |
file |
Character : Path to file where figures should be printed |
main.title |
Character : Title to appear on top of the graphic |
Gilles Guillot
A spatial statistical model for landscape genetics, Guillot, Estoup, Mortier, Cosson, Genetics, 2005
Guillot, Mortier, Estoup, Geneland : A program for landscape genetics. Molecular Ecology Notes, 2005.