matrix_directed_weighted, interaction=None)

Returns a directed, weighted matrix for call, text and call duration.

If interaction is None, the weight measures both calls and texts: the weight is the number of 30 minutes periods with at least one call or one text.


>>> m =, interaction='call')

m[i][j] is the number of calls from i to j.