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)
matrix
or DVHs
, multiple cumulative DVHs from one patient with multiple structures (object of class DVHLst
), or multiple cumulative DVHs from many patients, each with multiple structures (objcharacter
. Convert the DVH to this type. "asis"
keeps the current DVH type.character
. Convert the DVH to this dose unit. "asis"
keeps the current dose unit.character
. Interpolation method for the differential DVH. "asis"
and "linear"
for no interpolation. "spline"
for spline interpolation using splinefun
numeric
. Minimum number of nodes to use in interpolation for method "ksmooth"
. Number of available nodes is kept as is for NULL
or if larger than nodes
.numeric
. Dose range for interpolation methods "linear"
, "spline"
, "smoothSpl"
. If NULL
it is determined individally for each DVH.logical
. Are the differential DVH volume values per unit dose?matrix
, DVHs
, DVHLst
, or DVHLstLst
.convertDVH
,
readDVH
,
showDVH
res <- convertDVHsmooth(dataMZ[[c(1, 1)]],
toType="cumulative",
toDoseUnit="CGY")
Run the code above in your browser using DataLab