ds.curve | R Documentation |
This utility function simply makes the results of dose.survfit
available in the convenient form of a list.
ds.curve(de, ...)
de |
A data frame describing a dose-titration study. |
... |
Passed through to function |
A list with components surv
, upper
and lower
,
each containing a vector that can be indexed by dose level.
David C. Norris
dose.survfit
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.