DataGrouped-class: 'DataGrouped'

DataGrouped-classR Documentation

DataGrouped

Description

[Stable]

DataGrouped is a class for a two groups dose escalation data set, comprised of a monotherapy (mono) and a combination therapy (combo) arm. It inherits from Data and it contains the additional group information.

Usage

DataGrouped(group = character(), ...)

.DefaultDataGrouped()

Arguments

group

(factor or character)
whether mono or combo was used. If character then will be coerced to factor with the correct levels internally.

...

parameters passed to Data().

Slots

group

(factor)
whether mono or combo was used.

Note

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

Examples

my_data <- DataGrouped(
  x = c(0.1, 0.5, 1.5, 3, 6, 10, 10, 10),
  y = c(0, 0, 1, 1, 0, 0, 1, 0),
  doseGrid = c(0.1, 0.5, 1.5, 3, 6, seq(from = 10, to = 80, by = 2)),
  group = c("mono", "mono", "mono", "mono", "mono", "mono", "combo", "combo")
)

# Set up an empty data set.
empty_data <- DataGrouped(
  doseGrid = c(0.1, 0.5, 1, 1.5, 3, 6, seq(from = 10, to = 80, by = 2))
)
empty_data

Roche/crmPack documentation built on April 20, 2024, 1:10 p.m.