I have a need to calculate the CDF of a truncated normal distribution in an AnyLogic model. I haven't found any java packages that would work (but would take recommendations). I did find a package in R called truncnorm that will work for me. However, I'm struggling to figure out the best way to call the truncnorm R package. I'm experimenting with JRI in the rJava package. My plan is to add JRI as a .jar file to the Dependencies section of my AnyLogic model but I'm struggling to get it working so far.
Any other suggestions for how to do this before I keep beating my head against the wall with JRI?