Skip to contents

Calculate t-test and Return Key Values

Usage

values.t.test(
  x,
  y,
  alternative = "two.sided",
  paired = FALSE,
  conf.level = 0.99,
  na.rm = TRUE
)

Arguments

x

The list with the values to be compared. Each list should have a name otherwise names will be autogenerated.

y

The list with the values to be compared. Each list should have a name otherwise names will be autogenerated.

alternative

The type of t-test analysis; default: "two.sided"

paired

logical indicating if the data is the result of a paired sample; default: FALSE

conf.level

The confidence level; default: 0.99

na.rm

logical indicating if NA values are removed; default: TRUE

Value

t.value The t-test value

df The degrees of freedom

p.value The p-value

Details

Calculate t-test and return the key values.