twlStat {peramo} | R Documentation |
Test Statistics for Two-Way Layout Permutation Test
Description
twlStat
computes statistics for twl
. This is not meant to be
called directly.
Usage
twlStat(df, env = parent.frame())
Arguments
df |
a data frame with the levels of the two main factors as the first and second columns and the measurement of responses as the third column. |
env |
an environment, to access outer scope variables. |
Value
twlStat
returns a list with at least 4 components:
Fs |
the F statistics for global test. |
F.main1 and F.main2 |
the F statistics for the first main factor and the second main factor. |
F.int |
the F statistic for the interaction. |
In case of multiple comparisons, additional components are:
avg or avg.main1 and avg.main2 |
the mean responses for multiple comparisons. |
d.main1sub and d.main2sub or d.main1
and d.main2 |
the differences in means. |
mad.main1sub and mad.main2sub or mad.main1 and
mad.main2 |
the maximum absolute differences in means. |
References
Manly, B. F. J. (2007). Randomization, bootstrap, and Monte Carlo methods in biology (3rd ed). Chapman & Hall/ CRC.
[Package peramo version 0.1.3 Index]