# NOT RUN {
DATA1 <- matrix(rnorm(50), nrow=5)
DATA2 <- matrix(rnorm(100), nrow=5)
DATA <- cbind(DATA1, DATA2)
Jk <- c(10, 20)
R <- 5
LASSO <- 0.2
GROUPLASSO <- 0.4
MaxIter <- 400
results <- sparseSCA(DATA, Jk, R, LASSO, GROUPLASSO,
MaxIter, NRSTARTS = 10, method = "datablock")
results$Pmatrix
# }
Run the code above in your browser using DataLab