Learn R Programming

rpact (version 4.2.0)

getParameterType: Get Parameter Type

Description

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

Usage

getParameterType(obj, var)

Value

Returns a character of specifying the corresponding type 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 type that will be used in print outputs of an rpact result object.

See Also

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

Examples

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

Run the code above in your browser using DataLab