# NOT RUN {
# example to use of wfgl
EX2 <- pcorSimulatorJoint(nobs =50, nclusters = 3, nnodesxcluster = c(30, 30,30),
pattern = "pow", diffType = "cluster", dataDepend = "diag",
low.strength = 0.5, sup.strength = 0.9, pdiff = 0.5, nhubs = 5,
degree.hubs = 20, nOtherEdges = 30, alpha = 2.3, plus = 0,
prob = 0.05, perturb.clust = 0.2, mu = 0, diagCCtype = "dicot",
diagNZ.strength = 0.6, mixProb = 0.5, probSign = 0.7,
exactZeroTh = 0.05)
## not run
#wfgl1 <- wfgl(EX2$D1, EX2$D2, lambda1 = 0.05, lambda2 = 0.1, paired = TRUE,
# automLambdas = TRUE, sigmaEstimate = "CRmad", pairedEst = "Reg-based-sim",
# maxiter = 30)
#print(wfgl1)
# }
Run the code above in your browser using DataLab