Entering edit mode
Paul Geeleher
★
1.3k
@paul-geeleher-2679
Last seen 10.3 years ago
Hi,
I am using this function to perform two sample row t-tests on a
matrix:
rowttests(mat, fac)
I'm just wondering how the function decides which factor is on which
side of
the t-tests. From what I can see it's based on the order of the
factors in
levels(fac).
So if levels(fac) is [1] "HER-" "HER+", the function will do a
HER-/HER+
t-test? And positive t-stat indicates a higher mean value in "HER-"
(the
first) group?
It may sound a stupid question but I'm getting results that completely
contradict somebody else and I'd like to be 100% sure how the function
decides this before I go causing trouble!
Paul.
--
Paul Geeleher
School of Mathematics, Statistics and Applied Mathematics
National University of Ireland
Galway
Ireland
[[alternative HTML version deleted]]