t_test {psyntur} | R Documentation |
Independent samples t-test
Description
A wrapper to stats::t.test()
with var.equal = TRUE
.
Usage
t_test(formula, data)
Arguments
formula |
A two sided formula with one variable on either side, e.g. y ~
x, where the left hand side, dependent, variable is a numeric variable in
|
data |
A data frame that contains the dependent and independent variables. |
Value
A list with class "htest" as returned by stats::t.test()
.
Examples
t_test(trustworthy ~ face_sex, data = faithfulfaces)
[Package psyntur version 0.1.0 Index]