t.test(x,
y = NULL,
alternative = TwoSided,
mu = 0,
paired = FALSE,
var.equal = FALSE,
conf.level = 0.95,
t = NULL);
x
a (non-empty) numeric vector of data values.
y
an optional (non-empty) numeric vector of data values.
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. [as Hypothesis]
mu
a number indicating the true value of the mean (or difference in means if you
are performing a two sample test). [as double]
paired
a logical indicating whether you want a paired t-test. [as boolean]
var.equal
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. [as boolean]
conf.level
confidence level of the interval. [as double]
this function returns data object in these one of the listed data types:
.