Usage
fcd(A, K = 2, nlambda = 1e+3, lambda.min.ratio = 1e-05, alpha = 0.8, scale = FALSE)
fcd.start(A, K = 2, nlambda = 1000, lambda.min.ratio = 1e-05, alpha = 0.8, scale = FALSE)
Arguments
A
input matrix -- adjacency matrix of an observed graph based on the non-isolated nodes, of dimension n.noniso
x n.noniso
, where n.noniso
is the number of the non-isolated nodes.
K
input integer -- the pre-specified number of communities, with the default value 2.
nlambda
The number of lambda values - default is 1000.
lambda.min.ratio
Smallest value for lambda, as a fraction of lambda.max, the (data derived) entry value (i.e. the smallest value for which all coefficients are zero) - default is 1e-05.
alpha
The elasticnet mixing parameter - default is 0.8.
scale
The logic indicator of whether scaling the resulting matrix - default is FALSE.