Consider giving Jim the code that uses ggplot instead of base. He might appreciate that he could include both versions in his files. If so, I recommend that you do two things
split off the computation part from the graphical part, especially for the RMSEA function.
Allow the use to specify more graphical parameters, such as font size and line color. Use default parameters, like we have in other functions.
Consider giving Jim the code that uses ggplot instead of base. He might appreciate that he could include both versions in his files. If so, I recommend that you do two things