getEff: Extracting Efficacy Responses for Subjects Categorized by the...

getEffR Documentation

Extracting Efficacy Responses for Subjects Categorized by the DLT

Description

[Stable]

A method that extracts efficacy responses for subjects and categorizes it with respect to DLT, i.e. DLT or no DLT. The efficacy responses are reported together with their corresponding dose levels.

Usage

getEff(object, ...)

## S4 method for signature 'DataDual'
getEff(object, no_dlt = FALSE)

Arguments

object

(DataDual)
object from which the responses and dose levels are extracted.

...

further arguments passed to class-specific methods.

no_dlt

(flag)
should only no DLT responses be returned? Otherwise, all responses are returned.

Value

list with efficacy responses categorized by the DLT value.

Examples

# Example data.
data <- DataDual(
  x = c(25, 50, 25, 50, 75, 300, 250, 150),
  y = c(0, 0, 0, 0, 0, 1, 1, 0),
  w = c(0.31, 0.42, 0.59, 0.45, 0.6, 0.7, 0.6, 0.52),
  doseGrid = seq(25, 300, 25)
)

# Get the efficacy response and their corresponding dose levels
# categorized by the DLT.
getEff(data)

Roche/crmPack documentation built on April 30, 2024, 3:19 p.m.