marknames              package:mixstock              R Documentation

_E_x_t_r_a_c_t/_a_s_s_i_g_n _n_a_m_e_s _f_r_o_m _m_i_x_e_d _s_t_o_c_k _d_a_t_a

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

     Extract names of markers and sources from mixed stock data, or
     invent names for simulated data

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

     marknames(x)
     sourcenames(x)
     mixnames(x)
     locnames(x)
     mixstock.dimnames(H,R)
     label.mixstock.data(x,sourcenames=NULL,marknames=NULL,mixnames=NULL)

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

       x: mixstock.data object

       H: number of markers

       R: number of sources

sourcenames: vector of source names

marknames: vector of marker names

mixnames: vector of mixed stock names

_D_e_t_a_i_l_s:

     mixstock.dimnames uses Roman numerals for markers and capital
     letters for sources.  label.mixstock.data assigns names to the
     data if the source or mixed components of the data set already
     have names, or use the same rules as mixstock.dimnames. 'locnames'
     gives a combined vector of source and mixed stock names.

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

     character vectors of names, or a list with marker and source names

