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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top