library("readr")
library("ggplot2")
library("dplyr")
library("ggrepel")
# Load the dataset
<- read_csv("GOT_screentimes_1.csv")
screentimes
# Select character with the highest screentimes
<- top_n(screentimes, 10, screentime)
screentimes_high
# Makes a scatterplot screentime vs. episodes.
# Labels the characters with the highest screentimes
ggplot(screentimes, aes(screentime, episodes)) +
geom_point() +
geom_text_repel(data = screentimes_high,aes(label = name),min.segment.length = 0)
Analysis of GOT Series
Abstract
In this paper, we do the state of the art analysis…
Introduction
Hello world
Lets talk about Game of Thrones
Tyrion Lannister the most popular screentime star of GOT can be seen in more than 50 episodes. In contrast Samwell Tarly an underrated actor only appears in 35 episodes and his screentime is 100 minutes.
before render -> saving -> render again in terminal -> CTRL + R in the browser = refresh the document
quarto render got-2.qmd
By the way the coast of the house arryn is displayed in Figure 2 (a)
picture to see in Figure 2
As postulated by Knuth (1984)
Quarto Options
quarto render markdown.md
This will render and open a live preview of the Markdown file. starts a webpage with a local host in the browser -> it watches the input file for changes quarto preview “filename”
Lets analyse (Figure 1)
YAML: YAML Aint a Markup Language
first load library(YAML) insert the title and author in the first rows format specification with typst or pdf -> mac only pdf it creates a pdf document instead of a HTML file.
Quarto Advanced Exercises
Insert of images
Some characters have a lot of screentime, see Table 1
c("name","screentime")] |>
screentimes_high[, ::kable() knitr
name | screentime |
---|---|
Tyrion Lannister | 293.30 |
Jon Snow | 268.15 |
Daenerys Targaryen | 221.30 |
Cersei Lannister | 201.45 |
Sansa Stark | 199.30 |
Arya Stark | 189.15 |
Jaime Lannister | 162.30 |
Theon Greyjoy | 123.30 |
Samwell Tarly | 121.45 |
Jorah Mormont | 117.30 |
References
BibTeX in Googlescholar copy -> new File save as .bib
new line for new papers