TailRankTest-methods | R Documentation |
This file describes the methods for an object of the class
TailRankTest
class.
## S4 method for signature 'TailRankTest' summary(object, ...) ## S4 method for signature 'TailRankTest' hist(x, overlay = FALSE, xlab = "tail-rank statistic", main = "", ...) ## S4 method for signature 'TailRankTest' as.logical(x, ...) ## S4 method for signature 'TailRankTest' getStatistic(object,...)
x |
A |
object |
A |
overlay |
An optional logical flag; defaults to |
xlab |
A character string |
main |
A character string |
... |
Extra graphical parameters |
|
Returns a logical vector. |
|
Returns the vector of tail-rank statistics
contained in |
|
Invisibly returns the TailRankTest object. |
|
Invisibly returns the TailRankTest object. |
Kevin R. Coombes <krc@silicovore.com>
TailRankTest-class
,
TailRankTest
,
tailRankPower
# generate some fake data to use in the example nr <- 40000 nc <- 110 fake.data <- matrix(rnorm(nr*nc), ncol=nc) fake.class <- rep(c(TRUE, FALSE), c(40, 70)) # build an object null.tr <- TailRankTest(fake.data, fake.class) # summarize the object summary(null.tr) # plot a histogram hist(null.tr) hist(null.tr, breaks=70, col='blue', overlay=TRUE) # get a logical vector that can select those markers # identified by the test selector <- as.logical(null.tr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.