Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via `{sandpaper}`
Source  : c7a8fe2
Branch  : main
Author  : Christian Knudsen <[email protected]>
Time    : 2024-11-05 11:51:28 +0000
Message : Merge pull request #142 from chrbknudsen/main

Noter om hvordan man laver nye kurser
  • Loading branch information
actions-user committed Nov 5, 2024
1 parent b4ab40a commit d714e42
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 5 deletions.
4 changes: 2 additions & 2 deletions clt.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mean(random_numbers)
```

``` output
[1] 0.5627318
[1] 0.5153348
```
The important point of the Central Limit Theorem is, that if we take a large
number of random samples, and calculate the mean of each of these samples,
Expand All @@ -59,7 +59,7 @@ mean(runif(100))
```

``` output
[1] 0.4869666
[1] 0.5234537
```
And we can use the `replicate()` function to repeat that calculation several times, in this case 1000 times:

Expand Down
Binary file modified fig/clt-rendered-random-histogram-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fig/clt-rendered-repeated-means-histogram-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions making-a-new-course.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: 'making-a-new-course'
teaching: 10
exercises: 2
---

:::::::::::::::::::::::::::::::::::::: questions

- How do you write a lesson using R Markdown and `{sandpaper}`?

::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::: objectives

- Explain how to use markdown with the new lesson template
- Demonstrate how to include pieces of code, figures, and nested challenge blocks

::::::::::::::::::::::::::::::::::::::::::::::::

## Introduction
Sådan laver du et ny kursus baseret på denne toolbox.


på kodesiden af https://github.com/KUBDatalab/R-toolbox er der en grøn knap.
"use this template". vælg
"create a new repository"

Giv det et navn, og gør det public.
Husk at vælge at det er et kubdatalab repo, ellers kommer det til at ligge hos dig selv.

Der skal redigeres ting - config.yaml

title
source

created - ændre dato.

episodes - tag kun dem med du vil have med. Juster evt. rækkefølge

Husk også at evt. opdateringer ikke følger med. Rettelser i originalmaterialet
slår ikke igennem på den nye side.

::::::::::::::::::::::::::::::::::::: keypoints

- Use `.md` files for episodes when you want static content
- Use `.Rmd` files for episodes when you need to generate output
- Run `sandpaper::check_lesson()` to identify any issues with your lesson
- Run `sandpaper::build_lesson()` to preview your lesson locally

::::::::::::::::::::::::::::::::::::::::::::::::

5 changes: 3 additions & 2 deletions md5sum.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"file" "checksum" "built" "date"
"CODE_OF_CONDUCT.md" "c93c83c630db2fe2462240bf72552548" "site/built/CODE_OF_CONDUCT.md" "2024-11-05"
"LICENSE.md" "b24ebbb41b14ca25cf6b8216dda83e5f" "site/built/LICENSE.md" "2024-11-05"
"config.yaml" "b76ba95247455baa99ddfdb9705db8c7" "site/built/config.yaml" "2024-11-05"
"config.yaml" "76188894d250a68fbdf65206cee2d873" "site/built/config.yaml" "2024-11-05"
"index.md" "e4e80431f54f0c27189828975817535f" "site/built/index.md" "2024-11-05"
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2024-11-05"
"episodes/reproducible-analysis.Rmd" "c35d8069a53be38e0fc226243af7fc12" "site/built/reproducible-analysis.md" "2024-11-05"
Expand All @@ -24,6 +24,7 @@
"episodes/fence-test.Rmd" "c329445266c4cfd778728f6f5eafd613" "site/built/fence-test.md" "2024-11-05"
"episodes/design-principles.Rmd" "be6a1101577ab5464d8ed8c6ed698ea1" "site/built/design-principles.md" "2024-11-05"
"episodes/large-data.Rmd" "c23e056693250bbde7f18c4df53fa092" "site/built/large-data.md" "2024-11-05"
"episodes/making-a-new-course.Rmd" "4d18ede2bc30c514663dbcd29e07f28e" "site/built/making-a-new-course.md" "2024-11-05"
"instructors/instructor-notes.md" "5cf113fd22defb29d17b64597f3c9bc0" "site/built/instructor-notes.md" "2024-11-05"
"learners/CLT-dk.md" "a1852fcb44235823d23cd4a4af6d3d49" "site/built/CLT-dk.md" "2024-11-05"
"learners/CLT-en.md" "8ae8f14f05472820ef155acf980ae06f" "site/built/CLT-en.md" "2024-11-05"
Expand All @@ -32,4 +33,4 @@
"learners/setup.md" "0c80507a6a78380e67338e8e60563b20" "site/built/setup.md" "2024-11-05"
"poster/poster_dk.Rmd" "721a2b68eeb0b61308158bce41c6ae21" "site/built/poster_dk.md" "2024-11-05"
"profiles/learner-profiles.md" "5fe5bf7537072422b91ed393ada03f9a" "site/built/learner-profiles.md" "2024-11-05"
"renv/profiles/lesson-requirements/renv.lock" "f8febf7fa69e15540fafde60b8140e31" "site/built/renv.lock" "2024-11-05"
"renv/profiles/lesson-requirements/renv.lock" "92ca605ccd0892240265f95f62dfc35a" "site/built/renv.lock" "2024-11-05"
2 changes: 1 addition & 1 deletion normal-distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ rnorm(5, mean = 0, sd = 1 )
```

``` output
[1] -0.3242325 -0.1129759 1.3026109 -0.1825209 0.7380399
[1] -1.0811305 -0.8196102 1.2004549 0.1688529 0.9166049
```
Den returnerer (her) fem tilfældige værdier fra en normalfordeling med (her)
middelværdi 0 og standardafvigelse 1.
Expand Down

0 comments on commit d714e42

Please sign in to comment.