Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Name:
ttest
Description:
Results of a 2-sample t.test() in R need to be interpreted regarding significance, type of alternative, and comparison of the underlying empirical means.
Solution feedback:
Yes
Randomization:
Random numbers, text blocks, and R output
Mathematical notation:
Yes
Verbatim R input/output:
Yes
Images:
No
Other supplements:
No
Template:
Raw: (1 random version)
PDF:
HTML:

(Note that the HTML output contains mathematical equations in MathML. It is displayed by browsers with MathML support like Firefox or Safari – but not Chrome.)

Demo code:

library("exams")

set.seed(1090)
exams2html("ttest.Rnw")
set.seed(1090)
exams2pdf("ttest.Rnw")

set.seed(1090)
exams2html("ttest.Rmd")
set.seed(1090)
exams2pdf("ttest.Rmd")