See stats::t.test
for details.
a (non-empty) numeric vector of data values.
an optional (non-empty) numeric vector of data values.
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter.
a number indicating the true value of the mean (or difference in means if you are performing a two sample test).
a logical indicating whether you want a paired t-test.
a logical variable indicating whether to treat the two variances as being equal. If TRUE then the pooled variance is used to estimate the variance otherwise the Welch (or Satterthwaite) approximation to the degrees of freedom is used.
confidence level of the interval.
optional group names for 2-sample tests
further arguments to be passed to or from methods.