I am using the density function with the SJ method:
rdat <- rnorm(111111)
density(rdat, bw = "sj")
Error in bw.SJ(x, method = "ste") : sample is too sparse to find TD
It seems to fail on large sample, stating the sample is too sparse. This has been asked before here, but has anything changed since 2008? Are there any fixes out there for this/ workarounds?
Edit: Limit seems to be 46341