essay_marks {discovr} | R Documentation |
Essay mark data
Description
A dataset from Field, A. P. (2026). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
Usage
essay_marks
Format
A tibble with 45 rows and 4 variables.
Details
Fictional data about essay marks. A student was interested in whether there was a positive relationship between the time spent doing an essay and the mark received. He got 45 of his friends and timed how long they spent writing an essay (hours) and the percentage they got in the essay (essay). He also translated these grades into their degree classifications (grade): in the UK, a student can get a first-class mark (the best), an upper-second-class mark, a lower second, a third, a pass or a fail (the worst). The data set has four variables
-
id: Student id
-
essay: Percentage mark on the essay
-
hours: hours spend writing the essay
-
grade: factor that converts the essay percentage to the degree classification of the essay (see general description)
Source
www.discovr.rocks/csv/essay_marks.csv