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,
...
)Returns a list of dist objects.
A dataframe (or coercible object) with at least three columns:
ID of the object 1,
ID of the object 2, and
distance between the two objects.
Named array where the IDs correspond to the object IDs, and the values correspond to the group.
Index of the column containing the ID of the object 1.
Index of the column containing the ID of the object 2.
Index of the column containing the distance.
Remove incomplete matrices.
Any other parameters supported by enve.df2dist.
Luis M. Rodriguez-R [aut, cre]