DR.generate: Function for generating a series of outcomes related to a...

Description Usage Arguments Value

View source: R/modeling.R

Description

This function can be used for simulating outcome related to a given vector of doses or a dvhmatrix class object after setting the outcome related parameters TD50, γ 50 and a. If doses isn't a dvhmatrix class object and it is a vector of nominal doses the a parameter is ignored.

Usage

1
2
3
4
5
6
7
8
DR.generate(
  doses,
  a = 1,
  TD50 = 45,
  gamma50 = 1.5,
  DR.fun = c("Lyman", "Niemierko", "Bentzen", "Goitein", "Munro", "Okunieff",
    "Warkentin")
)

Arguments

doses

a dvhmatrix class object or a vector of nominal doses

a

factor for calculating EUD value according DVH.eud function

TD50

Dose that gives the 50% probability of outcome

gamma50

Slope of dose-response curve at TD50 of administered dose

DR.fun

Dose/Response function, a character vector containing the name of one of the function in the package moddicom: Lyman, Niemierko, Bentzen, Goitein, Munro, Okunieff, Warkentin.

Value

A vector of binary events (1 or 0).


robertogattabs/MV2 documentation built on May 17, 2021, 4:11 p.m.