saveDVH {DVHmetrics} | R Documentation |
Save DVH diagram to file
Description
Saves one or multiple DVH diagrams to file.
Usage
saveDVH(x, file="", ...)
Arguments
x |
A single |
file |
|
... |
Further arguments passed to |
Details
This is a wrapper for ggsave
.
Value
If x
is a list
of ggplot
objects, one file is written for each list component. If x
is a single ggplot
object, one file is written.
See Also
ggsave
,
showDVH
,
showConstraint
Examples
res <- showDVH(dataMZ, byPat=TRUE, structure=c("HEART", "AMYOCL"))
## Not run:
saveDVH(res, "out.pdf")
## End(Not run)
[Package DVHmetrics version 0.4.2 Index]