it worked, so reverting back
Updating the plot to contain all ranges of input, adding individual weapon hit percentages for a more accurate graph (now accurate individually instead of relatively)
The weapon efficiencies were allowing the hit percentage (accuracy) to be greater than 1. The sapply checks each element to ensure it is now less than, or equal to, 1.
adding some update ideas
adding a note to explain notation
Somewhat awkwardly making two functions, calcEff and plotEff, to place in the sections of shiny code that will calculate and plot, respectively.
Commenting out all previous information. Taking out defaults from calcEff function (don't want false positives if there is an error)
Changing file name to be more accurate
Just as the maximum probabilities were going above 1, the minimum probabilities were going below 0. This has been addressed. Also, an option to enter the location of the legend (so it doesn't get in the way), as well as to modify the enemy armor rating, has been included in the graph function. Enemy armor rating has also been added as an output of the calcEff function.
changes to allow user input for enemy armor ratings and the location of the legend (so it doesn't get in the way
updating information to reflect new dependencies among files