enve.df2dist.list | R Documentation |
Transform a dataframe (or coercible object, like a table) into a list of dist objects, one per group.
enve.df2dist.list(
x,
groups,
obj1.index = 1,
obj2.index = 2,
dist.index = 3,
empty.rm = TRUE,
...
)
x |
A dataframe (or coercible object) with at least three columns:
|
groups |
Named array where the IDs correspond to the object IDs, and the values correspond to the group. |
obj1.index |
Index of the column containing the ID of the object 1. |
obj2.index |
Index of the column containing the ID of the object 2. |
dist.index |
Index of the column containing the distance. |
empty.rm |
Remove incomplete matrices. |
... |
Any other parameters supported by |
Returns a list of dist objects.
Luis M. Rodriguez-R [aut, cre]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.