1 + 1[1] 2
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
1 + 1[1] 2
You can add options to executable code like this
[1] 4
The echo: false option disables the printing of code (only output is displayed).
x=c(17, 18, 16, 18, 17, 16, 18, 17, 18, 16, 17)
T=table(x)
barplot(T)t.test(x, mu=17)
One Sample t-test
data: x
t = 0.36274, df = 10, p-value = 0.7244
alternative hypothesis: true mean is not equal to 17
95 percent confidence interval:
16.53250 17.64932
sample estimates:
mean of x
17.09091
| Name | Quiz1 | Quiz2 |
|---|---|---|
| Tom | 98 | 95 |
| Annie | 99 | 94 |
| Cindy | 96 | 100 |
This data is from…
Wait…