new_drug_effects: Drug effects object constructor

Description Usage Arguments

View source: R/medianeffect.R

Description

Internal constructor function to generate a drug_effects object, for single drugs and constant ratio combinations.

Usage

1
2
3
4
5
6
7
8
new_drug_effects(
  D = double(),
  fa = double(),
  name = "",
  label = "",
  info = "",
  ratio = double()
)

Arguments

D

Vector of doses (single drug dose or sum of doses for fixed-ratio combinations)

fa

Vector of fraction affected

name

Long name of drug (optional)

label

Short label of drug (for plot labels, optional)

info

Longer description (optional)

ratio

If present, specifies vector of ratio of each drug in constant ratio combinations


jhchou/medianeffect documentation built on March 7, 2020, 12:56 a.m.