ds.curve: Extract the dose-survival curve, with its upper and lower...

View source: R/ds.curve.R

ds.curveR Documentation

Extract the dose-survival curve, with its upper and lower confidence band limits

Description

This utility function simply makes the results of dose.survfit available in the convenient form of a list.

Usage

ds.curve(de, ...)

Arguments

de

A data frame describing a dose-titration study.

...

Passed through to function dose.survfit

Value

A list with components surv, upper and lower, each containing a vector that can be indexed by dose level.

Author(s)

David C. Norris

See Also

dose.survfit

Examples

CV <- 0.7; mean_mtd <- 1.0
shape <- CV^-2; scale <- mean_mtd/shape
trial <- new("DE", doses=0.25 * 1.4^(0:6),
             MTDi=rgamma(24, shape=shape, scale=scale),
             units="mg")
trial <- titration(trial, periods=10)
ds.curve(trial@data)


DTAT documentation built on May 29, 2024, 7:10 a.m.