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.
1
solved P value of R t.test() function [closed]