t.test: Student's t-Test

Description Usage Arguments Value Examples

Description

Performs one and two sample t-tests on vectors of data.

Usage

1
2
t.test(x, y = NULL, alternative = c("two.sided"), mu = 0,
  paired = FALSE, var.equal = FALSE, conf.level = 0.95, tails = 2, ...)

Arguments

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.

Value

A list with class "htest" containing the statistic and p-values.

Examples

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)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.