Skip to content

Commit 8e7e0d4

Browse files
uncommenting type
1 parent 2019715 commit 8e7e0d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

selectiveInference/R/funs.fixed.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ fixedLassoInf <- function(x, y, beta,
2020

2121
family = match.arg(family)
2222
this.call = match.call()
23-
#type = match.arg(type)
23+
type = match.arg(type)
2424
if(family=="binomial") {
25-
#if(type!="partial") stop("Only type= partial allowed with binomial family")
25+
if(type!="partial") stop("Only type= partial allowed with binomial family")
2626
out=fixedLogitLassoInf(x,y,beta,lambda,alpha=alpha, type=type, tol.beta=tol.beta, tol.kkt=tol.kkt,
2727
gridrange=gridrange, bits=bits, verbose=verbose,
2828
linesearch.try=linesearch.try,

selectiveInference/R/funs.fixedLogit.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ fixedLogitLassoInf=function(x,y,beta,lambda,alpha=.1, type=c("partial,full"), to
44
linesearch.try=10, this.call=NULL){
55

66

7-
#type = match.arg(type)
7+
type = match.arg(type)
88
checkargs.xy(x,y)
99
if (missing(beta) || is.null(beta)) stop("Must supply the solution beta")
1010
if (missing(lambda) || is.null(lambda)) stop("Must supply the tuning parameter value lambda")

0 commit comments

Comments
 (0)