get.ggtext.Rd 1021 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/hypoAfrica.R
  3. \name{get.ggtext}
  4. \alias{get.ggtext}
  5. \title{Get table of values (as ggplot graphic object)}
  6. \usage{
  7. get.ggtext(
  8. df,
  9. dfRef,
  10. var,
  11. timeVar = "visitid",
  12. doseVar = "dose",
  13. nVar = "total",
  14. labelVar = NULL,
  15. doseBreaks = c(59.9, 60, 62, 100),
  16. doseLabels = c("ref", "60 Gy", "62 Gy", "all"),
  17. timeBreaks = c(0, 1, 3, 4)
  18. )
  19. }
  20. \arguments{
  21. \item{df}{data frame with reference data}
  22. \item{dfRef}{reference data frame}
  23. \item{var}{target variable to be shown}
  24. \item{timeVar}{variable measuring time}
  25. \item{doseVar}{variable for selecting datasets}
  26. \item{nVar}{variable where counts are stored}
  27. \item{labelVar}{variable to print (if default NULL, var is used directly)}
  28. \item{doseBreaks}{which doses are in df}
  29. \item{doseLabels}{how to label doses in legend}
  30. \item{timeBreaks}{where time points are assigned}
  31. }
  32. \value{
  33. grobj with values laid out as text
  34. }
  35. \description{
  36. Get table of values (as ggplot graphic object)
  37. }