Learn R Programming

rpact (version 4.2.0)

getParameterName: Get Parameter Name

Description

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

Usage

getParameterName(obj, parameterCaption)

Value

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

Arguments

obj

The rpact result object.

parameterCaption

The parameter caption.

Details

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

See Also

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

Examples

Run this code
if (FALSE) {
getParameterName(getDesignInverseNormal(), "Maximum number of stages")
}

Run the code above in your browser using DataLab