You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library("stabs")
library("lars")
x<-matrix(rnorm(100*20),100,20)
beta<- c(rep(1, 5), rep(0, 15))
y<-x%*%beta+ rnorm(100)
stabs<- stabsel(x, y, PFER=1, q=19, fitfun=lars.lasso, assumption="unimodal")
## Error in if (cutoff <= 3/4) { : missing value where TRUE/FALSE neededstabs<- stabsel(x, y, PFER=1, q=19, fitfun=lars.lasso, assumption="r-concave")
## Error in minD(q, p, cutoff[i], B) : ‘q’ must be <= 9
In the latter case just set call. = FALSE.
The text was updated successfully, but these errors were encountered:
In the latter case just set
call. = FALSE
.The text was updated successfully, but these errors were encountered: