Question

I understand that, the function t.test provides several statistical values, along with a p-value. However, I am not sure if this is a one sided, or two sided p-value.

Could someone tell me which p-value does it give as output?

Was it helpful?

Solution

From ?t.test - my emphasis:

alternative: a character string specifying the alternative hypothesis, must be one of '"two.sided"' (default), '"greater"' or '"less"'. You can specify just the initial letter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top