Get the p-value from a t-test
get.ttest.p.RdReturns the p-value from a t-test with useful default parameters. Returns NA if the t-test is uncalculable (i.e. does try() handling).
Arguments
- x
Vector of numbers to analyze
- group1
Vector of TRUE/FALSE indicating which are the x samples for the t-test
- group2
Vector of TRUE/FALSE indicating which are the y samples for the t-test
- paired
Do a paired t-test?
- var.equal
Assume Welch's correction?
- alternative
What's the null-hypothesis?