twlStat computes statistics for twl. This is not meant to be
called directly.
twlStat(df, env = parent.frame())twlStat returns a list with at least 4 components:
Fsthe F statistics for global test.
F.main1 and F.main2the F statistics for the first main factor and the second main factor.
F.intthe F statistic for the interaction.
In case of multiple comparisons, additional components are:
avg or avg.main1 and avg.main2the mean responses for multiple comparisons.
d.main1sub and d.main2sub or d.main1
and d.main2the differences in means.
mad.main1sub and mad.main2sub or mad.main1 and
mad.main2the maximum absolute differences in means.
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.
an environment, to access outer scope variables.
Manly, B. F. J. (2007). Randomization, bootstrap, and Monte Carlo methods in biology (3rd ed). Chapman & Hall/ CRC.