Learn R Programming

CorReg (version 1.0.5)

cleanZR2: To clean Z based on R2

Description

To clean Z based on R2

Usage

cleanZR2(Z = Z, X = X, R2min = 0.4, methode = 1, adj = TRUE)

Arguments

Z
binary adjacency matrix of the structure (size p)
X
the dataset
R2min
lower boundary for the structure (on R-squared value)
methode
parameter for OLS (matrix inversion) methode_BIC parameter for OLS (matrix inversion) 1:householderQr, 2:colPivHouseholderQr
adj
boolean. Adjusted R-squared or classical one (if FALSE).