-7

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?

Shamim Hafiz - MSFT
  • 21,454
  • 43
  • 116
  • 176

1 Answers1

3

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.

dardisco
  • 5,086
  • 2
  • 39
  • 54