selective-inference / R-software

R software for selective inference
GNU General Public License v2.0
34 stars 18 forks source link

manyMeans when nothing selected #23

Open jonathan-taylor opened 7 years ago

jonathan-taylor commented 7 years ago

When nothing is selected by manyMeans we get an error in printing:

set.seed(0) manyMeans(rnorm(10), bh.q=0.1)

Call: manyMeans(y = rnorm(10), bh.q = 0.1)

Standard deviation of noise sigma = 1.000

Error in colnames<-(*tmp*, value = c("SelInd", "MuHat", "P-value", : length of 'dimnames' [2] not equal to array extent