Description Usage Arguments Examples
The class flip.object is the output of a call to flip
, flipMix
, npc
, flip.adjust
etc.
The following are functions to extract and manipulate relevant information from
a flip.object
.
show
prints the flip.object.
summary
: Prints information about the flip-object.
dim
: Size of permutation space, i.e. the number of permutations X number of variables.
[
and [[
: Extract parts of flip.object
names
: it deals the names of the tests (the variables, usually)
sort
: it sorts the tests stored in flip.objects
by their p-values.
hist
: it produces the histogram of the distribution of the test statistic.
When there are more test, it produces one histogram for each test statistic.
plot
: it produces the scatter plot of the (joint)
distribution of the test statistics.
When there are more than 2 tests, the plot is based on the first two principal components.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ## S4 method for signature 'flip.object'
show(object)
summary(object, ...)
## S4 method for signature 'flip.object'
summary(object, star.signif = TRUE,
only.p.leq = NULL, ...)
## S4 method for signature 'flip.object'
dim(x)
## S4 method for signature 'flip.object,ANY,ANY,ANY'
x[i]
## S4 method for signature 'flip.object'
x[[i]]
## S4 method for signature 'flip.object'
length(x)
## S4 method for signature 'flip.object'
names(x)
## S4 replacement method for signature 'flip.object'
names(x) <- value
## S4 method for signature 'flip.object'
sort(x, decreasing = FALSE)
## S4 method for signature 'flip.object'
hist(x, ...)
## S4 method for signature 'flip.object'
plot(x, y, ...)
|
object |
a flip-object |
... |
additional arguments to be passed |
star.signif |
If |
only.p.leq |
Shows only tests with a p-value lower than |
x |
a |
i |
indices specifying elements to extract or replace. Indices are |
value |
|
decreasing |
logical. Should the sort be increasing or decreasing? |
y |
not used. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.