powered by
Calculate the adjusted covriance matrix and precision matrix given the network structure from high dimesional dataset.
solcov(data, struct, tol=10^-5)
A \(n\)x\(p\) data matrix.
A preacquired adjacency matrix
Tolerant value, default is 10^-5
A list of two elements:
Adjusted covriance matrix
Precision matrix
Friedman, J., Hastie, T., and Tibshirani, R. (2001). The elements of statistical learning (Vol. 1). Springer, Berlin: Springer series in statistics.
# NOT RUN { # } # NOT RUN { # } # NOT RUN { library(equSA) data <- GauSim(100,200) solcov(data$data,data$theta) # }
Run the code above in your browser using DataLab