| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/hypoAfrica.R
- \name{get.ggtext}
- \alias{get.ggtext}
- \title{Get table of values (as ggplot graphic object)}
- \usage{
- get.ggtext(
- df,
- dfRef,
- var,
- timeVar = "visitid",
- doseVar = "dose",
- nVar = "total",
- labelVar = NULL,
- doseBreaks = c(59.9, 60, 62, 100),
- doseLabels = c("ref", "60 Gy", "62 Gy", "all"),
- timeBreaks = c(0, 1, 3, 4),
- dfAdd = NULL
- )
- }
- \arguments{
- \item{df}{data frame with reference data}
- \item{dfRef}{reference data frame}
- \item{var}{target variable to be shown}
- \item{timeVar}{variable measuring time}
- \item{doseVar}{variable for selecting datasets}
- \item{nVar}{variable where counts are stored}
- \item{labelVar}{variable to print (if default NULL, var is used directly)}
- \item{doseBreaks}{which doses are in df}
- \item{doseLabels}{how to label doses in legend}
- \item{timeBreaks}{where time points are assigned}
- \item{dfAdd}{additional data frame not checked for statistics (NULL ignored)}
- }
- \value{
- grobj with values laid out as text
- }
- \description{
- Get table of values (as ggplot graphic object)
- }
|