metrumresearchgroup / pmplots

Plots for Pharmacometrics
https://metrumresearchgroup.github.io/pmplots
8 stars 1 forks source link

Refactor/default titles #57

Closed kylebaron closed 2 years ago

kylebaron commented 2 years ago

Summary

Update the pm_axis functions to glue in specifics

Example

library(pmplots)
#> Loading required package: ggplot2
pm_axis_time("h")
#> [1] "TIME//Time (h)"
pm_axis_tad("h")
#> [1] "TAD//Time after dose (h)"
pm_axis_tafd("h")
#> [1] "TAFD//Time after first dose (h)"
pm_axis_dv("conc (ng/mL)")
#> [1] "DV//Observed conc (ng/mL)"
pm_axis_pred("conc (ng/mL)")
#> [1] "PRED//Population predicted conc (ng/mL)"
pm_axis_ipred("conc (ng/mL)")
#> [1] "IPRED//Individual predicted conc (ng/mL)"

Created on 2022-03-25 by the reprex package (v2.0.1)

kylebaron commented 2 years ago

@KatherineKayMRG Could you look at this for me?