ds.curve {DTAT} | R 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 |
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
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)
[Package DTAT version 0.3-7 Index]