| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/discardSimilarModels.R |
| 3 | \name{discardSimilarModels} |
| 4 | \alias{discardSimilarModels} |
| 5 | \title{Discard models which have the same relevant variables} |
| 6 | \usage{ |
| 7 | discardSimilarModels(B1, B2, glambda, rho, pi) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{B1}{array of relevant coefficients (of size p*m*length(gridlambda))} |
| 11 | |
| 12 | \item{B2}{array of irrelevant coefficients (of size p*m*length(gridlambda))} |
| 13 | |
| 14 | \item{glambda}{grid of regularization parameters (vector)} |
| 15 | |
| 16 | \item{rho}{covariance matrix (of size m*m*K*size(gridLambda))} |
| 17 | |
| 18 | \item{pi}{weight parameters (of size K*size(gridLambda))} |
| 19 | } |
| 20 | \value{ |
| 21 | a list with update B1, B2, glambda, rho and pi, and ind the vector of indices |
| 22 | of selected models. |
| 23 | } |
| 24 | \description{ |
| 25 | Discard models which have the same relevant variables |
| 26 | } |
| 27 | |