Description Usage Arguments Value Examples
View source: R/DRAP_code_1.5.11.r
Summarize the mean, SD, SE, and sample size of each arm in input data.
1 | DataSummary(data, type, pattern = c("oneAN", "TAN"), measure.var, group.vars)
|
data |
a data frame of measured tumor vloume data or body weight data of mouse. |
type |
the type of data, "Vomule" or "BodyWeight". |
pattern |
the pattern of PDX trial design, "oneAN" or "TAN". |
measure.var |
the measured variable, such as "Volume", "BodyWeight". |
group.vars |
the group variables. |
A data frame including the sample size, mean, SD, SE of group variables.
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 35 36 37 38 39 40 | ## summary the tumor volume data of oneAN pattern
data(oneAN.volume.data)
oneAN.volume.data[1:10,]
oneAN.v.s <- DataSummary(data = oneAN.volume.data,
type = 'Volume',
pattern = 'oneAN',
measure.var = 'Volume',
group.vars = c('Arms','Times'))
head(oneAN.v.s)
## summary the body weight data of oneAN pattern
data(oneAN.bw.data)
oneAN.bw.data[1:10,]
oneAN.bw.s <-DataSummary(data = oneAN.bw.data,
type = 'BodyWeight',
pattern = 'oneAN',
measure.var = 'BodyWeight',
group.vars = c('Arms','Times'))
head(oneAN.bw.s)
## summary the tumor volume data of TAN pattern
data(TAN.volume.data)
TAN.volume.data[1:10,]
TAN.v.s <- DataSummary(data = TAN.volume.data,
type = 'Volume',
pattern = 'TAN',
measure.var = 'Volume',
group.vars = c('Tumor','Arms','Times'))
head(TAN.v.s)
## summary the body weight data of TAN pattern
data(TAN.bw.data)
TAN.bw.data[1:10,]
TAN.bw.s <- DataSummary(data = TAN.bw.data,
type = 'BodyWeight',
pattern = 'TAN',
measure.var = 'BodyWeight',
group.vars = c('Tumor','Arms','Times'))
head(TAN.bw.s)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.