ocbe-uio / contingencytables

Statistical Analysis of Contingency Tables
https://ocbe-uio.github.io/contingencytables/
GNU General Public License v3.0
3 stars 2 forks source link

Improve error message for low nboot values #46

Closed wleoncio closed 1 year ago

wleoncio commented 1 year ago

For example, the_rxc_table(table_7.7, nboot = 100) fails because nboot is too low. However, the error message is rather cryptic:

Error in bca.ci(boot.out, conf, index[1L], L = L, t = t.o, t0 = t0.o,  : 
  estimated adjustment 'a' is NA