There is code repetition in plotting functions when preparing axis tick location xat and yat values to pass to lattice (see this occurrence in create.boxplot). (This applies to both X and Y axes.).
This code should be refactored into a common utility function and unit tested. As well, we should be thorough and be sure that:
The refactor catches any small deviations in the behaviour of this code between each specific plotting function.
Plotting results are equivalent before and after. (Essentially, this is manual integration testing with lattice.)
There is code repetition in plotting functions when preparing axis tick location
xat
andyat
values to pass to lattice (see this occurrence increate.boxplot
). (This applies to both X and Y axes.).This code should be refactored into a common utility function and unit tested. As well, we should be thorough and be sure that: