Description Usage Arguments Examples
View source: R/DRAP_code_1.5.11.r
Summary the frequency and propotion of animals at every drug response level in each group.
1 |
data |
drug response level, the output of DRLevel. |
by |
the group summaried by. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # NPDXE.criteria
npdxe.criteria <- data.frame(BestResponse.lower = c(-1000,-0.95,-0.5,0.35),
BestResponse.upper = c(-0.95,-0.5,0.35,1000),
BestAvgResponse.lower = c(-1000,-0.4,-0.2,0.3),
BestAvgResponse.upper = c(-0.4,-0.2,0.3,1000),
Level = c( 'CR','PR', 'SD','PD'))
npdxe.criteria
### oneAN pattern
data(oneAN.volume.data)
oneAN.drl <- DRLevel(data = oneAN.volume.data,
method = 'NPDXE.Response',
criteria = npdxe.criteria,
neg.control = 'Control')
DRLevelSummary(oneAN.drl,by = 'Arms')
### TAN pattern
data(TAN.volume.data)
TAN.drl <- DRLevel(data = TAN.volume.data,
method = 'NPDXE.Response',
criteria = npdxe.criteria,
neg.control = 'Control')
DRLevelSummary(TAN.drl,by = 'Arms')
DRLevelSummary(TAN.drl,by = c('Arms','Tumor'))
### TAone pattern
data(TAone.volume.data)
TAone.drl <- DRLevel(data = TAone.volume.data,
method = 'NPDXE.Response',
criteria = npdxe.criteria,
neg.control = 'Control')
head(TAone.drl)
DRLevelSummary(data = TAone.drl,by=c('Arms','Type'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.