Skip to content

Commit 60177c2

Browse files
committed
varia
1 parent d4b4967 commit 60177c2

File tree

5 files changed

+57
-36
lines changed

5 files changed

+57
-36
lines changed

teach/stats/r4a/2025/index-part2.qmd

+7-7
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ On GitHub <img src="https://raw.githubusercontent.com/zoometh/thomashuet/master/
796796

797797
:::
798798

799-
# Practice
799+
# Practice {data-background-color=#FFA500}
800800

801801

802802
## Practice {#practice}
@@ -805,11 +805,11 @@ On GitHub <img src="https://raw.githubusercontent.com/zoometh/thomashuet/master/
805805

806806
### Objective
807807

808-
Use <span class="r-md">R Markdown</span> (<span class="r-code">code chunks</span> and <span class="r-text">narrative parts</span>) to create a report. Choose between:
808+
Create a <span class="r-md">R Markdown</span> report. Choose between:
809809

810-
- [ ] improve the `.Rmd` document: "*Münsingen-Rain necropolis (Bern, Switzerland). A quantative study of Late Iron Age fibulae*" using the dataset 'Fibulae' from {`archdata`}
810+
- [ ] improve report "*Münsingen-Rain necropolis (Bern, Switzerland)*" ([here](https://github.com/zoometh/thomashuet/blob/main/teach/stats/r4a/2025/practice/2_Rmarkdown_Practice.Rmd)) using the dataset 'Fibulae' from {`archdata`}
811811

812-
- [ ] start from scratch ([here](https://zoometh.github.io/thomashuet/teach/stats/r4a/2025/site/index-part1#/new-document)) and select another dataset from {`archdata`} (e.g. 'Handaxes').
812+
- [ ] create a new report and select another dataset from {`archdata`} (e.g. 'Handaxes'), see [doc](https://zoometh.github.io/thomashuet/teach/stats/r4a/2025/site/index-part1#/new-document) .
813813

814814
::: {.callout-note}
815815
The practical part has an estimated duration of 60 minutes
@@ -819,21 +819,21 @@ The practical part has an estimated duration of 60 minutes
819819

820820
### How to start?
821821

822-
1. Download/Copy the folder `r4a/2025/practice/` and locate the file `2_Rmarkdown_Practice.Rmd` and the .`bib` file by following this link:
822+
1. Download/Copy the folder `r4a/2025/practice/` by following this link:
823823

824824
```{.html}
825825
https://github.com/zoometh/thomashuet/tree/main/teach/stats/r4a/2025/practice/
826826
```
827827

828-
2. install the {`bookdown`} package
828+
2. (***optional***) install the {`bookdown`} package
829829

830830
```{.r}
831831
install.packages("bookdown")
832832
```
833833

834834
### How to finish?
835835

836-
Contact me, send me your `.Rmd` and related files (e.g. `references.bib`) here online 👋
836+
Contact me, send me your `.Rmd`, the output (ex: PDF), and related files (e.g. `references.bib`) here online 👋
837837

838838
<center>or</center>
839839

teach/stats/r4a/2025/site/index-part1.html

+8-3
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,11 @@ <h2 data-id="quarto-animate-title">Document structure</h2>
865865
<p><img data-src="https://raw.githubusercontent.com/zoometh/thomashuet/master/teach/www/rmd_create_rmd_new_skrinked.png" width="500"></p>
866866
</div>
867867
</div>
868+
</section>
869+
<section>
870+
<section id="narrative-parts" class="title-slide slide level1 center" data-background-color="#add8e6">
871+
<h1>Narrative parts</h1>
872+
868873
</section>
869874
<section id="text" class="slide level2">
870875
<h2>Markdown syntax</h2>
@@ -1532,14 +1537,14 @@ <h2>Cross-referencing</h2>
15321537
<ul id="tabset-13" class="panel-tabset-tabby"><li><a data-tabby-default="" href="#tabset-13-1">Variables</a></li><li><a href="#tabset-13-2">Figures</a></li></ul>
15331538
<div class="tab-content">
15341539
<div id="tabset-13-1">
1535-
<p>Variables calculated inside the <span class="r-code">code chunks</span></p>
1540+
<p>Variables calculated inside the <span class="r-code">code chunks</span></p>
15361541
<div class="div-code">
15371542
<p><small>code chunk</small></p>
15381543
<div class="sourceCode" id="cb27"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb27-1"><a></a><span class="fu">library</span>(archdata)</span>
15391544
<span id="cb27-2"><a></a><span class="fu">data</span>(<span class="st">"Handaxes"</span>)</span>
15401545
<span id="cb27-3"><a></a>number.of.axes <span class="ot">&lt;-</span> <span class="fu">nrow</span>(Handaxes)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
15411546
</div>
1542-
<p>can be called in the <span class="r-text">narrative parts</span></p>
1547+
<p>can be called in the <span class="r-text">narrative parts</span></p>
15431548
<div class="div-text">
15441549
<p><small>narrative part</small></p>
15451550
<div class="sourceCode" id="cb28"><pre class="sourceCode numberSource md number-lines code-with-copy"><code class="sourceCode markdown"><span id="cb28-1"><a></a>&lt;small&gt;Furze Platt dataset counts 'r number.of.axes' axes&lt;/small&gt;</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
@@ -1723,7 +1728,7 @@ <h2>References</h2>
17231728
Xie, Yihui, Christophe Dervieux, and Emily Riederer. 2020. <em>R Markdown Cookbook</em>. Chapman; Hall/CRC. <a href="https://bookdown.org/yihui/rmarkdown-cookbook/">https://bookdown.org/yihui/rmarkdown-cookbook/</a>.
17241729
</div>
17251730
</div>
1726-
</section>
1731+
</section></section>
17271732
<section id="footnotes" class="footnotes footnotes-end-of-document smaller scrollable" role="doc-endnotes"><h2>Footnotes</h2>
17281733

17291734
<ol>

0 commit comments

Comments
 (0)