-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paired
argument in pairwise_t_test
and t_test
#136
Comments
you should use the pairwise_t_test is for performing multiple t_tests in many groups like so:
|
regarding the identifier I guess this is a critical issue. Right now the way (I think) |
So in the current version, it is actually critical to pre-sort the table based on the ID. Thank you so much @wolass for clarifying! |
Thanks for all your hard work on rstatix, I love it! One way it could be improved is to accept pairs of variables in some functions rather than requiring a formula. In my experience, it's much safer to enter paired data into two columns, so each row is the same person (or experimental unit). Otherwise, if you miss entering a single cell, the matching between pairs is destroyed. R's built-in function allows this form to handle that common situation: t.test(mydata$pretest, It would be helpful if t_test (and wilcox_test) offered that type of variable specification. |
I'm a little bit confused by the name here. Which one should I use if I want to compare the measurements of the same individuals before and after treatment? And also, how does the function identify the "pairs"? There seems to be no argument to specify the ids of the measurements.
Thank you so much!
The text was updated successfully, but these errors were encountered: