Description Usage Arguments Value Examples
Performs one and two sample t-tests on vectors of data.
1 2 |
x |
FLVector |
y |
FLVector |
mu |
The value of hypothesized mean |
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. |
A list with class "htest" containing the statistic and p-values.
1 2 3 4 5 | flx<-as.FLVector(rnorm(100))
fly<-as.FLVector(rnorm(100))
t.test(flx)
t.test(flx,fly)
t.test(flx,fly,var.equal=F)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.