summary.emaxsimobj {clinDR} | R Documentation |
Summarize Emax fit to a data set generated by emaxsim
Description
Summary of the Emax or alternative fit to a simulated data set
Usage
## S3 method for class 'emaxsimobj'
summary(object, ...)
Arguments
object |
Extracted simulation object |
... |
No other parameters are currently implemented |
Value
Printed output only. No values are returned.
Author(s)
Neal Thomas
See Also
emaxsim
,
plot.emaxsimobj
, print.emaxsimobj
Examples
## emaxsim changes the random number seed
nsim<-3
doselev<-c(0,5,25,50,100)
n<-c(78,81,81,81,77)
### population parameters for simulation
e0<-2.465375
ed50<-67.481113
dtarget<-100
diftarget<-9.032497
emax<-solveEmax(diftarget,dtarget,log(ed50),1,e0)
sdy<-7.967897
pop<-c(log(ed50),emax,e0)
meanlev<-emaxfun(doselev,pop)
###FixedMean is specialized constructor function for emaxsim
gen.parm<-FixedMean(n,doselev,meanlev,sdy)
D1 <- emaxsim(nsim,gen.parm,nproc=1)
e3<-D1[3]
summary(e3)
[Package clinDR version 2.4.1 Index]