histpos               package:Rcapture               R Documentation

_P_o_s_s_i_b_l_e _C_a_p_t_u_r_e _H_i_s_t_o_r_i_e_s

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

     'histpos.t' builds the matrix of observable capture histories in
     terms of captures and misses for a capture-recapture experiment
     with 't' capture occasions.

     'histpos.0' builds the matrix of observable capture histories in
     terms of number of captures for each primary period of a robust
     design  with 'vt' capture occasions.

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

     histpos.t(t)
     histpos.0(vt)

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

       t: The number of capture occasions. 

      vt: A vector containing the numbers of capture occasions for each
          primary sampling period of a robust design. The length of
          this vector equals the number of primary sampling periods
          (noted I). 

_V_a_l_u_e:

     'histpos.t' gives a 2^t-1 by t matrix with rows representing
     capture histories. This matrix contains only zeros and ones.

     'histpos.0' gives a (t1+1)*(t2+1)* ... *(tI+1)-1 by  I matrix with
     rows representing possible capture histories in terms of number of
     captures. This matrix elements are integers between 0 and ti
     inclusively.

_N_o_t_e:

     The 'histpos.t' function is called by 'descriptive', 'closedp',
     'closedp.bc', 'closedp.Mtb', 'closedp.h', 'openp', 'Xomega.t',
     'Xclosedp'.

     The 'histpos.0' function is called by 'Xomega.0' and 'robustd.0'.

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

     Sophie Baillargeon sbaillar@mat.ulaval.ca and Louis-Paul Rivest
     lpr@mat.ulaval.ca

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

     Baillargeon, S. and Rivest, L.P. (2007). The Rcapture package:
     Loglinear models for capture-recapture in R. _Journal of
     Statistical Software_, to appear (available online at <URL:
     http://www.jstatsoft.org/>).

_S_e_e _A_l_s_o:

     'histfreq.t', 'histfreq.0', 'descriptive'

_E_x_a_m_p_l_e_s:

     histpos.t(5)

     histpos.0(rep(5,3))

