StrucMat: Generate Structure Matrix in gscca

Description Usage Arguments Value

Description

Generate Structure Matrix in gscca

Usage

1
StrucMat(edges, x, plain = T, thresh = 0.5)

Arguments

edges:

the edges of graph structure, see peacakge igraph

x:

data matrix

plain:

whether using weighted penalty. If True, the penalty is $\Sigma |\beta_i-\beta_j|$. If false, the peanlty is $\Sigma |r_ij||\beta_i-sign(r_ij)\beta_j|$.

Value

structure matrix, D


DongyueXie/scca documentation built on May 29, 2019, 2:37 p.m.