expand.bugs.data | R Documentation |
expands mixed stock data to BUGS input format (indicator variables)
expand.bugs.data(mixsamp)
mixsamp |
mixed-sample or mixed stock data matrix (numbers from each source population) |
a matrix of indicator (0/1) variables: number of rows = total number of individuals, number of columns = number of source populations
Ben Bolker
expand.bugs.data(c(A=4,B=2,C=5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.