dom_transition_matrix: Compute the transition matrix.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

The transition matrix is computed from the aggression matrix. The element T[i,j] of the transition matrix is the probability that individual i attacks individual j.

Usage

1
dom_transition_matrix(aggression_matrix, epsilon = 0.694)

Arguments

aggression_matrix

aggression matrix (square matrix)

epsilon

the epsilon parameter (0 < eps <= 1)

Value

The transition matrix

Examples

1
dom_transition_matrix(matrix(c(0, 2, 3, 0), nrow = 2, ncol = 2))

danm0nster/domstruc documentation built on Feb. 12, 2020, 8:58 a.m.