get_drm: Function to generate a dose-response model from a data frame.

Description Usage Arguments Details Author(s)

Description

Function to generate a dose-response model from a data frame.

Usage

1
2
get_drm(x, form = NULL, model = c("LL.3", "LL.4", "W1.4", "W2.4"),
  idcol = "ID")

Arguments

x

a data frame that has at least the columns listed in the form argument (e.g. "response" and "dose", see examples).

form

a formula specifying the column names for the response and dose. Defaults to NULL.

model

one of 4 options:

  • LL.3 = Log Logistic 3 parameter with a lower limit of 0.

  • LL.4 = Log Logistic 4 parameter with lower limit estimated.

  • W1.4 = Weibul 4 parameter type 1.

  • W2.4 = Weibul 4 parameter type 2.

idcol

the name of the column that identifies the samples (case sensitive).

Details

A wrapper function for drm, this will attempt to catch errors generated due to non-finite responses. When these are encounterd, a message that the model was not evaluated will be printed to the screen and NA will be returned.

Author(s)

Zhian N. Kamvar


ezec documentation built on May 2, 2019, 8:08 a.m.