make_model: Makes a dose effect relationship model for a specified...

Description Usage Arguments Details Value Author(s) Examples

View source: R/make_model.R

Description

Outputs a dose effect relationship (DER) model for a single ion with parameters dose and LET. The ion may be a low-LET or HZE ion and non-targeted effects may be specified.

Usage

1
make_model(data, HZE, NTE = TRUE, phi = 2000, y_0 = 0.046404)

Arguments

data

Data.frame of single ion data.

HZE

Boolean for presence of HZE ions

NTE

Boolean for presence of non-targeted effects

phi

Numeric constant

y_0

Numeric constant corresponding to background effect

Details

data must have a numeric column "dose" and a numeric weight column "NWeight".

Value

nls model

Author(s)

Edward Greg Huang <eghuang@berkeley.edu>

Examples

1
2
3
4
5
ion_data <- load_ion_data("one_ion.csv")

LLET_model    <- make_model(ion_data, FALSE)
HZE_nte_model <- make_model(ion_data, TRUE, TRUE)
HZE_te_model  <- make_model(ion_data, TRUE, FALSE)

eghuang/synergy documentation built on Dec. 31, 2019, 8:55 a.m.