PosteriorMode            package:Geneland            R Documentation

_M_a_p _o_f _m_o_d_e _o_f _p_o_s_t_e_r_i_o_r _d_i_s_t_r_i_b_u_t_i_o_n _o_f _p_o_p_u_l_a_t_i_o_n _m_e_m_b_e_r_s_h_i_p

_D_e_s_c_r_i_p_t_i_o_n:

     Plots a map giving  the modal population as a color code for each
     pixel.

_U_s_a_g_e:

     function(coordinates,path.mcmc,write=FALSE,plotit=TRUE,
                               printit=FALSE,file=NULL,main.title=NULL)

_A_r_g_u_m_e_n_t_s:

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

_A_u_t_h_o_r(_s):

     Gilles Guillot

_R_e_f_e_r_e_n_c_e_s:

     A spatial statistical model for landscape genetics, Guillot,
     Estoup, Mortier, Cosson, Genetics, 2005

     Guillot, G., Geneland : A program for landscape genetics.
     Molecular Ecology  Notes, submited.

