printemaxPrior {clinDR} | R Documentation |
Print protocol or sap text describing the prior distribution for the model parameters of the input emaxPrior object
Description
Print templated description of the prior distribution for the Emax model parameters. The level of detail is adjusted for protocol/sap. By default, the prior object is printed as a list without documentation.
Usage
## S3 method for class 'emaxPrior'
print(x, doc=FALSE, diffuse=NULL, file="",
modType=c('4','3'), docType=c('sap','protocol'), ...)
Arguments
x |
Object created by function |
doc |
When |
diffuse |
When |
file |
File for ascii output |
modType |
Character value ('4' or '3') that determines whether the 4-parameter sigmoidal Emax paramter is included, or the 3-parameter hyperbolic model is assumed with the Hill (slope) parameter set to 1 |
docType |
When |
... |
No other inputs are supported |
Details
If the object is entered at the command line, the implied print
function is called without the required diffuse
flag. The
object will be printed as a list. The list output will be
followed by error/warning messages noting the absence of the
required input.
Value
Ascii text or text file that can be edited for inclusion in a protocol/sap
Author(s)
Neal Thomas
See Also
Examples
prior<-emaxPrior.control(epmu=0,epsca=4,difTargetmu=0,
difTargetsca=4,dTarget=20,
p50=(2+5)/2,
sigmalow=0.01,sigmaup=3)
print(prior,doc=TRUE,diffuse=TRUE)