| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/hypoAfrica.R
- \name{get.ggplot}
- \alias{get.ggplot}
- \title{Plot comparison of measured and reference fractions}
- \usage{
- get.ggplot(
- df,
- dfRef,
- var,
- timeVar = "visitid",
- doseVar = "dose",
- nVar = "ntotal",
- doseBreaks = base::c(60, 62, 100),
- doseLabels = base::c("60 Gy", "62 Gy", "all"),
- doseColors = base::c("red", "magenta", "blue"),
- timeBreaks = base::c(0, 1, 3, 4),
- timeLabels = base::c("beforeRT", "at20", "at3mo", "at12mo")
- )
- }
- \arguments{
- \item{df}{data frame of measured fractions}
- \item{dfRef}{data frame of reference fractions}
- \item{var}{target fraction variable}
- \item{timeVar}{variable measuring time}
- \item{doseVar}{variable for selecting datasets}
- \item{nVar}{variable where counts are stored}
- \item{doseBreaks}{values to break plots to}
- \item{doseLabels}{labels for legend for breaks}
- \item{doseColors}{colors to use for different plots}
- \item{timeBreaks}{where time points are assigned}
- \item{timeLabels}{labels for time points}
- }
- \value{
- grob object with ggplot
- }
- \description{
- Plot comparison of measured and reference fractions
- }
|