Closed netterie closed 8 years ago
Tests for ggplot output: http://stackoverflow.com/questions/31038709/how-to-write-a-test-for-a-ggplot-plot
Start here: in branch panel-plot, standardize group versus panel (use everHadNegTest as the panel?)
Re-did embedding of KCsim and added KCplwh using the data-raw structure (see http://r-pkgs.had.co.nz/data.html). This will allow unit tests/examples of the percent plot
For percent bar charts, the app code is here (search for tp3) https://github.com/netterie/HIVBackCalc_App/blob/master/server.R
I've added the code, as-is, as plotTruePrev. Turning this into a ticket on the package page, to make the function more flexible. Right now it works fine, see examples in man page.
For all descriptives and results - go through each one Add the percent-bar charts for the essentials?