View source: R/evaluate_characteristics.R
| maxNrLoops | R Documentation | 
This function calculates the maximum number of loops, assuming full connectance.
maxNrLoops(n, k = NULL)
n | 
 (required) Integer. Number of network compartments.  | 
k | 
 (optional) Integer. Length of loop. Default NULL searches of loops of all length (k=2 to k = n).  | 
A fully connected network is assumed. The total number of loops of length k can be found as n! / (n - k)!. If k is not given the total number of possible loops (i.e. of length k = 2 to k = n) is found.
Returns the maximum number of possible loops.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.