Learn R Programming

DBpower (version 0.1.0)

createMjk: Create the matrix that linearly transforms the vector of test statistics into a quantity amenable for pmvnorm.

Description

Create the matrix that linearly transforms the vector of test statistics into a quantity amenable for pmvnorm.

Usage

createMjk(j, k, size)

Arguments

j

The element of the vector that is the largest.

k

The element of the vector that is the second largest.

size

The length of the set.

Value

The transformation matrix of dimension (2J-1)*(2J-1)

Examples

Run this code
# NOT RUN {
createMjk(j=3, k=4, size=5)
# }

Run the code above in your browser using DataLab