Skip to contents

Returns the parameter caption for a given object and parameter name.

Usage

getParameterCaption(obj, parameterName)

Value

Returns a character of specifying the corresponding caption of a given parameter name. Returns NULL if the specified parameterName does not exist.

Details

This function identifies and returns the caption that will be used in print outputs of an rpact result object.

See also

getParameterName() for getting the parameter name for a given caption.

Examples

getParameterCaption(getDesignInverseNormal(), "kMax")
#> [1] "Maximum number of stages"