One of either a "structure3D" object, a "structure.list", or a "RTdata" object containing one or more structure(s).
dose
Object of class "array" containing dose grid data. This parameter is not required if x contains a "RTdata" object including dose grid information.
resolution.xyz
A numeric list containing three positive values representing x, y, and z resolution to be used for DVH calculation (specified in units of mm). The smaller each value, the longer the overall calculation time (default is c(0.2, 0.2, NA)). z resolution defaults to axial slice thickness when method="ATC".
resolution.dose
A positive numeric value specifying the dose calculation interval (bin width) for DVH calculation (values interpreted in Gy).
method
Character value specifying the DVH calculation algorithm to employ. Must be one of "ATC", "surface", or "axial". See below for further details about the dose calculation algorithms.
dose.units
Value specifying units of dose. Must be one of "cGy" (default) or "Gy".
Value
Returns a single calculated "DVH" object or a "DVH.list" object consisting of multiple DVHs where relevant, or otherwise a "zDVH" or "DVH.list" containing multiple zDVHs when method="axial".
Straube, W., Matthews, J., Bosch, W., and Purdy, J.A. (2005)
DVH Analysis: Consequences for Quality Assurance of Multi-Institutional Clinical Trials.
Med Phys32(6):2021.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(RadOnc)
Loading required package: rgl
Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: oro.dicom
oro.dicom: Rigorous - DICOM Input / Output (version = 0.5.0)
Loading required package: ptinpoly
Loading required package: misc3d
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/RadOnc/calculate.DVH.Rd_%03d_medium.png", width=480, height=480)
> ### Name: calculate.DVH
> ### Title: Calculate DVH data for one or more structure(s) using a dose
> ### grid
> ### Aliases: calculate.DVH calculate.DVH-methods
> ### calculate.DVH,RTdata,missing-method calculate.DVH,RTdata,array-method
> ### calculate.DVH,structure3D,array-method
> ### calculate.DVH,structure.list,array-method
> ### calculate.DVH,ANY,missing-method calculate.DVH,ANY,array-method
> ### calculate.DVH,ANY,ANY-method
> ### Keywords: methods manip
>
> ### ** Examples
>
> data("RadOnc")
> # zDVHs <- calculate.DVH(janedoe.RTdata, method="axial")
>
>
>
>
>
> dev.off()
null device
1
>