I get the following error message when calculating bootstrap confidence intervals with the "boot"
package:
Error in if (const(t, min(1e-08, mean(t, na.rm = TRUE)/1e+06))) { :
Missing Value, where TRUE/FALSE is necessary
This error occurs only if I want to calculate bootstrap confidence intervals for spearman correlation coefficients across countries of a specific variable and is thus not easily reproduced. For many variables the code runs nicely, but for this specific one I obtain the above error message. This particular variable has not caused any trouble anywhere else for me so far, which makes me doubt that it is about this variable. Can anybody give me a hint as to what the above error message might be hinting at?