marknames {mixstock} | R Documentation |
Extract names of markers and sources from mixed stock data, or invent names for simulated data
marknames(x) sourcenames(x) mixnames(x) mixstock.dimnames(H,R) label.mixstock.data(x,sourcenames=NULL,marknames=NULL,mixnames=NULL)
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 |
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.
character vectors of names, or a list with marker and source names