DataParts-class: 'DataParts'

DataParts-classR Documentation

DataParts

Description

[Stable]

DataParts is a class for the data with two study parts. It inherits from Data and it contains additional information on the two study parts.

Usage

DataParts(part = integer(), nextPart = 1L, part1Ladder = numeric(), ...)

.DefaultDataParts()

Arguments

part

(integer)
which part does each of the patients belong to?

nextPart

(count)
what is the part for the next cohort (1 or 2)?

part1Ladder

(numeric)
what is the escalation ladder for part 1? This shall be an ordered subset of the doseGrid.

...

parameters passed to Data().

Slots

part

(integer)
which part does each of the patients belong to?

nextPart

(count)
what is the part for the next cohort (1 or 2)?

part1Ladder

(numeric)
what is the escalation ladder for part 1? This shall be an ordered subset of the doseGrid.

Note

Typically, end users will not use the .DefaultDataParts() function.

Examples

my_data <- DataParts(
  x = c(0.1, 0.5, 1.5),
  y = c(0, 0, 0),
  ID = 1:3,
  cohort = 1:3,
  doseGrid = c(0.1, 0.5, 1.5, 3, 6, seq(from = 10, to = 80, by = 2)),
  part = c(1L, 1L, 1L),
  nextPart = 1L,
  part1Ladder = c(0.1, 0.5, 1.5, 3, 6, 10)
)
my_data

Roche/crmPack documentation built on May 5, 2024, 8:44 p.m.