Learn R Programming

rococo (version 1.1.1)

show-methods: Display RococoTestResults Objects

Description

Display method for S4 class RococoTestResults

Usage

## S3 method for class 'RococoTestResults':
show(object)

Arguments

object
an object of class RococoTestResults

Value

  • show returns an invisible NULL

Details

show displays the most important information stored in object.

References

http://www.bioinf.jku.at/software/rococo/

U. Bodenhofer, M. Krone, and F. Klawonn (2012). Testing noisy numerical data for monotonic association. Inform. Sci., DOI: 10.1016/j.ins.2012.11.026.

U. Bodenhofer and F. Klawonn (2008). Robust rank correlation coefficients on the basis of fuzzy orderings: initial steps. Mathware Soft Comput. 15(1):5-20.

See Also

rococo.test-methods, rococo, show-methods

Examples

Run this code
## create data
f <- function(x) ifelse(x > 0.9, x - 0.9, ifelse(x < -0.9, x + 0.9, 0))
x <- rnorm(25)
y <- f(x) + rnorm(25, sd=0.1)

## perform correlation tests
ret <- rococo.test(x, y, similarity="classical", alternative="greater")
show(ret)

ret <- rococo.test(x, y, similarity="linear", alternative="greater")
show(ret)

ret <- rococo.test(x, y, similarity=c("classical", "gauss"), r=c(0, 0.1),
                   alternative="greater", numtests=10000)
show(ret)

Run the code above in your browser using DataLab