-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuarto Example.qmd
97 lines (64 loc) · 1.56 KB
/
Quarto Example.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
title: "Quarto Example"
format: html
editor: visual
---
## This is an example Quarto File
Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see <https://quarto.org>.
This Website has all the info you'll need to work on quarto files
## Running Code
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:
```{r}
1 + 1
```
You can add options to executable code like this
```{r}
#| echo: false
2 * 2
```
The `echo: false` option disables the printing of code (only output is displayed).
```{r}
58/7
```
```{r}
#Carmen was here again
```
```{r}
8+5
```
```{r}
knitr::opts_chunk$set(echo = TRUE)
library(tidyverse)
library(car)
library(readxl)
```
```{r}
experiment_ANCOVA = aov(Years ~ Skin_Hue + Bad, data = experiment_data)
```
```{experiment_ANCOVA}
```
```{r}
experiment_ANCOVA
```
```{r}
t.test(Years ~ Skin_Hue, data = experiment_data)
```
```{r}
##run an ancova} \## IV = Skin_Hue \## DV = Years \## Co-V = Bad
ANCOVA <- aov(Years ~ Skin_Hue + Bad, data = experiment_data)
```
Look at the results
```{r}
Anova(ANCOVA, type = "III")
```
Look at the structure of the variables
```{r}
str(experiment_data)
```
Two-Way ANOVA
```{r}
Two_Way_Anova <- aov(Years ~ Hispanic1 + Non_Hispanic +
Hispanic1*Non_Hispanic, data = experiment_data)
```
![Light Skinned Mug Shot](/Users/jamesvanslyke/Documents/Psych_495_SP23/001-1 Small.jpeg)
#why isn't it showing on github