convertDVHsmooth {DVHmetrics} | R Documentation |
Convert between differential and cumulative DVH
Description
Convert between differential and cumulative DVH as well as between dose units, using smoothng of the differential DVH.
Usage
convertDVHsmooth(x,
toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear", "spline", "ksmooth", "smoothSpl"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'matrix'
convertDVHsmooth(x,
toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear", "spline", "ksmooth", "smoothSpl"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'DVHs'
convertDVHsmooth(x,
toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear", "spline", "ksmooth", "smoothSpl"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'DVHLst'
convertDVHsmooth(x,
toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear", "spline", "ksmooth", "smoothSpl"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
## S3 method for class 'DVHLstLst'
convertDVHsmooth(x,
toType=c("asis", "cumulative", "differential"),
toDoseUnit=c("asis", "GY", "CGY"),
interp=c("asis", "linear", "spline", "ksmooth", "smoothSpl"),
nodes=NULL, rangeD=NULL, perDose=TRUE)
Arguments
x |
One DVH (object of class |
toType |
|
toDoseUnit |
|
interp |
|
nodes |
|
rangeD |
|
perDose |
|
Value
Depending on the input, an object of class matrix
, DVHs
, DVHLst
, or DVHLstLst
.
See Also
Examples
res <- convertDVHsmooth(dataMZ[[c(1, 1)]],
toType="cumulative",
toDoseUnit="CGY")