Description Usage Arguments Value Author(s) Examples
desc caculates select descriptive statistics for the variable y.
1 |
y |
variable of interest |
pcts |
selected percentiles, the default is c(0.025,0.05,0.95,0.975) |
nsig |
number of significant figures |
desc prints descriptive statistics including mean, median, standard deviation,range, min, max and selected percentiles.
M.S. Blanchard <sblanchard@coh.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | set.seed(1111)
OperChar<-teqrOCtox(
sim=500,
firstdose=2,
probt=c(.05,.15,.23,.34,.51,.76),
cohortSize=3,
MaxNoCohorts=30,
MTDss=12,
pTarget=.2,
eq1=.05,
eq2=.05,
tootoxic=.34)
OperChar
TotalN<-rep(NA,500)
for (i in 1:500){
TotalN[i]<-sum(OperChar$DLdata$dllength[OperChar$DLdata$simNo==i])
}
desc(TotalN)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.