printemaxPrior: 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.
Ascii text or text file that can be edited for inclusion in
a protocol/sap
Arguments
x
Object created by function emaxPrior.control
doc
When TRUE, documentation for the prior distribution
is returned. Default is FALSE and the prior input is returned
as a list for default printing
diffuse
When TRUE, the scale parameters are described
as creating diffuse prior distributions for the corresponding
efficacy parameters. When FALSE, sections are identified
where the user must add justification for the informative
prior distributions. An error message is printed if
doc=TRUE and diffuse is not specified
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 'protocol', the prior description
is less detailed.
...
No other inputs are supported
Author
Neal Thomas
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.