Learn R Programming

mdgsa (version 1.4.2)

indexTransform: Transform ranking index distribution.

Description

The function performs a transformation of the ranking index so that its distribution is suitable as independent variable of the logistic regression model.

Usage

indexTransform(index, method = "normalize")

Arguments

index
a ranking index; a numeric vector, matrix or data.frame.
method
transformation method. See details.

Value

  • A transformed index. Its class will be that of the the input object.

Details

Works for vector, matrices and data.frames. In the case of matrices the function transforms each column separately from the other ones.

Two methods are currently implemented: [object Object],[object Object]

See Also

transferIndex, uvGsa, mdPat

Examples

Run this code
myIndex <- runif (1000)
myTransformedIndex <- indexTransform (myIndex)
plot (myIndex, myTransformedIndex)

Run the code above in your browser using DataLab