Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
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:
STUDENT TEST SCORES BY PREPARATION COURSE
STEP 1. Load required libraries
library(ggplot2)library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
library(tidyr)
STEP 2. Read your CSV data file
data <-read.csv(file.choose()) # Click your CSV file when dialog opens
STEP 3. Quick data check (optional - remove if not needed)
print("Data preview:")
[1] "Data preview:"
head(data)
gender race.ethnicity parental.level.of.education lunch
1 female group B bachelor's degree standard
2 female group C some college standard
3 female group B master's degree standard
4 male group A associate's degree free/reduced
5 male group C some college standard
6 female group B associate's degree standard
test.preparation.course math.score reading.score writing.score
1 none 72 72 74
2 completed 69 90 88
3 none 90 95 93
4 none 47 57 44
5 none 76 78 75
6 none 71 83 78