SophieBlatter / Project_Daniel_Sophie

Semesterproject on movement data for the Pattern and Trends module 2024
0 stars 1 forks source link

plot and figure in a single chunk #8

Open ratnanil opened 3 months ago

ratnanil commented 3 months ago

On lines 102 - 110, you try to make a plot and a table in a single chunk:

```{r preprocessing}
#| fig-cap: "Geschwindigkeit über Steigungskategorien"
#| label: Plot2
plot2

#| tbl-cap: "Zusammenfassung der Geschwindigkeit über Steigungskategorien"
#| label: Tabelle 1 Geschwindigkeit-Steigungskategorie-summary
table1

You need to split this into two chunks (and remove the label `preprocessing`:
#| fig-cap: "Geschwindigkeit über Steigungskategorien"
#| label: Plot2
plot2
#| tbl-cap: "Zusammenfassung der Geschwindigkeit über Steigungskategorien"
#| label: Tabelle 1 Geschwindigkeit-Steigungskategorie-summary
table1
ratnanil commented 3 months ago

Same goes for lines 116-124:


```{r preprocessing}
#| fig-cap: "Geschwindigkeit nach Steigungskategorie und Segmentphase"
#| label: Plot3

#| tbl-cap: "Zusammenfassung der Geschwindigkeit nach Steigungskategorie und Segmentphase"
#| label: Tabelle 2 Geschwindigkeit-Steigungskategorie-Segmentphase-summary
table2