TTEST | R Documentation |
This is comparable to SAS PROC TTEST.
TTEST(x, y, conf.level=0.95)
x |
a vector of data from the first (test, active, experimental) group |
y |
a vector of data from the second (reference, control, placebo) group |
conf.level |
confidence level |
Caution on choosing the row to use in the output.
The output format is comparable to SAS PROC TTEST.
Kyun-Seop Bae k@acr.kr
mtest
, tmtest
, ztest
TTEST(mtcars[mtcars$am==1, "mpg"], mtcars[mtcars$am==0, "mpg"])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.