fitIAI_mod: Re-implemented IAI calculation with model selection and CI

Description Usage Arguments Value Examples

View source: R/drexplorer_IAI.ModelSelection.R

Description

Re-implemented IAI calculation with model selection and CI

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
fitIAI_mod(
  d1,
  d2,
  e,
  E = seq(0.05, 0.95, 0.005),
  name1 = "Drug A",
  name2 = "Drug B",
  ratio,
  tol = 0.1,
  IAIactive = 0.95
)

Arguments

d1

dose for drug 1.

d2

dose for drug 2.

e

corresponding percentile in the range [0, 1]; response is 1-E.

E

a vector of responses (between 0 and 1) where IAI and confidence interval are to be computed from.

name1

drug 1 name.

name2

drug 2 name.

ratio

ratio of d1/d2.

tol

tolerance in declaring fixed ratio.

IAIactive

default is set to 0.95.

Value

a list

Examples

1
2
fitL_mod <- fitIAI_mod(d1 = UMSCC22B[, 1], d2 = UMSCC22B[, 2], e = UMSCC22B[, 3],
                       name1 = 'SCH66336', name2 = '4HPR', ratio = 1)

lshen1/drexplorer2 documentation built on June 2, 2020, 9:27 p.m.