optimal_return_doc: Function for generating documentation of return values
Description
Generates the documentation of the return value
of an optimal function including some custom text.
Usage
optimal_return_doc(type, setting = "basic")
Value
string containing the documentation of the return value.
Arguments
- type
string deciding whether this is return text for
normal, binary or time-to-event endpoints
- setting
string containing the setting, i.e. "basic", "bias",
"multitrial"