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:

     PosteriorMode(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:

     G. Guillot, Estoup, A., Mortier, F. Cosson, J.F. A spatial
     statistical model for landscape genetics. Genetics, 170,
     1261-1280, 2005.

     G. Guillot, Mortier, F., Estoup, A. Geneland : A program for
     landscape genetics. Molecular Ecology Notes, 5, 712-715, 2005.

