tally_from_matrix {toporanga} | R Documentation |
Create tally from a raw matrix
Description
Creates a toporanga_tally
objects from a matrix representing counts of domination events between pairs of agents.
Usage
tally_from_matrix(x)
Arguments
x |
matrix to convert. It must be square, have zero diagonal, non-negative values and identical column and row names or lack of both ("1".."n" is gonna be inferred in this case). |
Value
toporanga_tally
object.
Note
If in doubt, use tally_log
instead of this function.
[Package toporanga version 1.0.0 Index]