Learn R Programming

MultiGroupSequential (version 1.1.0)

inftocor: Transform information fractions into correlation matrix

Description

inftocor() transforms information (fractions) into correlation matrix.

Usage

inftocor(ir = c(0.2, 0.5, 1))

Value

List with an element named cor for the correlation matrix.

Arguments

ir

Numeric vector of the sequence of information fractions. All elements should be between 0 and 1 with the last one being exactly 1.

Author

Xiaodong Luo

Examples

Run this code
inftocor(ir = c(0.2, 0.5, 1.0))

Run the code above in your browser using DataLab