powered by
Produces a more helpful summary of the existing t.test function.
t.test
tTest(x, y, data, ...)
Character string giving name of grouping variable.
Character string giving name of continuous variable.
Data where both x and y can be found.
x
y
Other arguments to be passed down to the t.test function.
A list of class tTest with two elements:
tTest
Means, n, and standard errors for both groups and the difference.
The result produced by t.test.
# NOT RUN { data(alberta) alberta$sex <- rio::factorize(alberta$sex) tTest("sex", "k7", data=alberta) # }
Run the code above in your browser using DataLab