View source: R/perm.dataStream.focal.R
perm.dataStream.focal | R Documentation |
Converts a data frame of individual associations into a group by individual matrix.
perm.dataStream.focal(
df,
focal,
scan,
alters,
nperm,
progress = TRUE,
method = "sri"
)
df |
a data frame in which to include a control column. |
scan |
a numeric or character vector representing one or more columns used as scan factors. |
id |
a numeric or character vector indicating the column holding ids of individuals. |
Control factors are used in permutation approaches to constrain their permutations.
The same data frame input with an extra column named 'control', representing the control factors.
Sebastian Sosa, Ivan Puga-Gonzalez.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.