Learn R Programming

crmPack (version 2.0.0)

DataDual-class: DataDual

Description

[Stable]

DataDual is a class for the dual endpoint data. It inherits from Data and it contains additional biomarker information.

Usage

DataDual(w = numeric(), ...)

.DefaultDataDual()

Arguments

w

(numeric)
the continuous vector of biomarker values.

...

parameters passed to Data().

Slots

w

(numeric)
the continuous vector of biomarker values.

Examples

Run this code
my_data <- DataDual(
  w = rnorm(8),
  x = c(0.1, 0.5, 1.5, 3, 6, 10, 10, 10),
  y = c(0, 0, 0, 0, 0, 0, 1, 0),
  doseGrid = c(
    0.1,
    0.5,
    1.5,
    3,
    6,
    seq(from = 10, to = 80, by = 2)
  )
)
my_data

Run the code above in your browser using DataLab