DVH.merge: Merge two different 'dvhmatrix' class objects into one

Description Usage Arguments Value Examples

View source: R/dvh_mod.R

Description

This function can e used to create a dvhmatrix class object from two different ones. The slots of the resulting object will be the same in the receiver one, so some convertions can be automatically realized to create the homogeneous final result.

Usage

1
DVH.merge(receiver = NULL, addendum = NULL)

Arguments

receiver

The dvhmatrix object that will receive the addendum object.

addendum

The dvhmatrix object to be merged with addendum.

Value

A dvhmatrix class object.

Examples

1
2
3
4
## creates two different dvhmatrx objects
a<-DVH.generate(dvh.number = 100, dvh.type="differential", vol.distr = "relative")
b<-DVH.generate(dvh.number = 100, dvh.type="cumulative", vol.distr = "absolute")
ab<-DVH.merge(receiver = a, addendum = b)

robertogattabs/RadAgent documentation built on June 30, 2018, 12:02 a.m.