rquery.t.test | R Documentation |
Performs one or two samples t-test
rquery.t.test(x, y = NULL, paired = FALSE, graph = TRUE, ...)
x |
a (non-empty) numeric vector of data values. |
y |
an optional (non-empty) numeric vector of data values |
paired |
: if TRUE, paired t-test is performed |
graph |
: if TRUE, the distribution of the data is shown for the inspection of normality |
... |
: further arguments to be passed to the built-in t.test() R function |
1. shapiro.test is used to check normality 2. F-test is performed to check equality of variances If the variances are different, then Welch t-test is used
Returns t-test results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.