Skip to content

Commit

Permalink
Update MADMMplasso.R
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo-qua authored Feb 20, 2024
1 parent 408d783 commit 3793b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/MADMMplasso.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

#' @example inst/examples/MADMMplasso_example.R
#' @export
MADMMplasso <- function(X, Z, y, alpha, my_lambda = NULL, lambda_min = 0.001, max_it = 50000, e.abs = 1E-3, e.rel = 1E-3, maxgrid, nlambda, rho = 5, my_print = FALSE, alph = 1.8, tree, parallel = TRUE, pal = 0, gg = NULL, tol = 1E-4, cl = 4,legacy=FALSE) {
MADMMplasso <- function(X, Z, y, alpha, my_lambda = NULL, lambda_min = 0.001, max_it = 50000, e.abs = 1E-3, e.rel = 1E-3, maxgrid, nlambda, rho = 5, my_print = FALSE, alph = 1.8, tree, parallel = TRUE, pal = 0, gg = NULL, tol = 1E-4, cl = 4, legacy=FALSE) {

Check warning on line 53 in R/MADMMplasso.R

View workflow job for this annotation

GitHub Actions / lint

file=R/MADMMplasso.R,line=53,col=249,[infix_spaces_linter] Put spaces around all infix operators.
N <- nrow(X)

p <- ncol(X)
Expand Down

0 comments on commit 3793b5d

Please sign in to comment.