Generates a connectivity matrix A with cycle product smaller than 1.
generateA(p, expNumNeigh, minCoef, maxCoef, cyclic, verbose = FALSE)Number of variables.
Expected number of neighbors, to be passed to 
randDAG.
Minimal edge coefficient. The absolute magnitude of the coefficients will be sampled uniformly at random from the range \([minCoef, maxCoef]\).
Maximal edge coefficient. The absolute magnitude of the coefficients will be sampled uniformly at random from the range \([minCoef, maxCoef]\).
If TRUE, connectivity matrix will contain at least one
cycle.
If TRUE, comments will be printed.
A list with two elements
A Connectivity matrix
sizeCycle Size of the cycle, if cyclic was set to TRUE.
If expNumNeigh and maxCoef are large, function 
may fail to find a connectivity matrix with cycle product smaller one. In this
case, try to lower these parameters.