Learn R Programming

nopaco (version 1.0.9)

getPsi: Obtain concordance coefficients.

Description

getPsi returns the concordance coefficient(s) from a matrix or a result obtained by the concordance.test function.

Usage

getPsi(x, y, ...)

# S4 method for ConcordanceTest,missing getPsi(x)

# S4 method for matrix,missing getPsi(x, y, ...)

# S4 method for data.frame,missing getPsi(x, y, ...)

# S4 method for data.frame,data.frame getPsi(x, y, ...)

# S4 method for matrix,NULL getPsi(x, y, ...)

# S4 method for matrix,matrix getPsi(x, y, ...)

Value

A numeric vector with coefficient(s)

Arguments

x

A numeric matrix or an object ConcordanceTest-class

y

A numeric matrix (optional)

...

Not used

References

P.Rothery (1979) Biometrika 66(3):629-639

See Also

Other concordance functions: coef(), concordance.test(), rfromPsi()

Examples

Run this code

matRandom <- matrix(rnorm(30),10,3)
testResult <- concordance.test(matRandom)
getPsi(testResult)
getPsi(matRandom)

Run the code above in your browser using DataLab