Skip to contents

Helper function. Calculates the number of iterations that the evaluate_concepts function needs to run in the for-loop to determine the (normative) value of the concepts. The number of iterations is set to the diameter of the CM.

Usage

set_iterations(edgelist, nodelist)

Arguments

edgelist

an edgelist

nodelist

a nodelist

Value

Returns a vector with the maximum number of iterations

Examples

set_iterations(rutte_p2_edgelist, rutte_p2_nodelist)
#> [1] 5