View source: R/phyloscan.fun.private.R
phsc.get.pairwise.relationships.keff.and.neff | R Documentation |
This function counts for each pair of individuals their relationship states across all windows (KEFF), and the total number of windows (NEFF). Since windows can be overlapping, the count is a real value.
phsc.get.pairwise.relationships.keff.and.neff(df, get.groups, w.slide = NA)
df |
data.table with basic relationship types for paired individuals across windows. Must contain columns 'ID1','ID2','W_FROM','W_TO','TYPE_BASIC'. |
get.groups |
names of relationship groups |
new data.table with columns ID1 ID2 GROUP TYPE K KEFF N NEFF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.