Learn R Programming

rpact (version 4.1.0)

getParameterCaption: Get Parameter Caption

Description

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

Usage

getParameterCaption(obj, var)

Value

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

Arguments

obj

The rpact result object.

var

The variable/parameter name.

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

Run this code
if (FALSE) {
getParameterCaption(getDesignInverseNormal(), "kMax")
}

Run the code above in your browser using DataLab