getPsi {nopaco}R Documentation

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 signature 'ConcordanceTest,missing'
getPsi(x)

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

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

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

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

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

Arguments

x

A numeric matrix or an object ConcordanceTest-class

y

A numeric matrix (optional)

...

Not used

Value

A numeric vector with coefficient(s)

References

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

See Also

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

Examples


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

[Package nopaco version 1.0.7 Index]