dgcc {DasGuptR} | R Documentation |
Das Gupta equation 5.36 across N populations: Decomposes cross-classified population structures into a set of symmetric proportions indicating contribution of individual structural variables.
Description
Das Gupta equation 5.36 across N populations: Decomposes cross-classified population structures into a set of symmetric proportions indicating contribution of individual structural variables.
Usage
dgcc(x, pop, id_vars, crossclassified)
Arguments
x |
dataframe consisting of one population, including variables indicating cross-classified structure, and a variable indicating size of each cell |
pop |
variable name (character string) containing population identifier |
id_vars |
character vector of variables indicating cross-classified structure. |
crossclassified |
variable name (character string) containing cell sizes or proportions |
Value
inputted data.frame is returned with the addition of variables for each of the the cross-classified variables representing the contribution to the population size.
[Package DasGuptR version 2.1.0 Index]