diff --git a/.nojekyll b/.nojekyll index 48eaeb8..a08ed80 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -4044bcfd \ No newline at end of file +9ab010e1 \ No newline at end of file diff --git a/lessons/1-project-management/notes.pdf b/lessons/1-project-management/notes.pdf index 092684a..dbcc402 100644 Binary files a/lessons/1-project-management/notes.pdf and b/lessons/1-project-management/notes.pdf differ diff --git a/lessons/10-get-credit/notes.pdf b/lessons/10-get-credit/notes.pdf index 0e5a7ed..52aa457 100644 Binary files a/lessons/10-get-credit/notes.pdf and b/lessons/10-get-credit/notes.pdf differ diff --git a/lessons/11-getting-help/notes.pdf b/lessons/11-getting-help/notes.pdf index 317e8d3..44fb269 100644 Binary files a/lessons/11-getting-help/notes.pdf and b/lessons/11-getting-help/notes.pdf differ diff --git a/lessons/12-drop-in/notes.pdf b/lessons/12-drop-in/notes.pdf index 41eb766..66dd51a 100644 Binary files a/lessons/12-drop-in/notes.pdf and b/lessons/12-drop-in/notes.pdf differ diff --git a/lessons/2-markdown-quarto/notes.pdf b/lessons/2-markdown-quarto/notes.pdf index bcb370e..96b5a16 100644 Binary files a/lessons/2-markdown-quarto/notes.pdf and b/lessons/2-markdown-quarto/notes.pdf differ diff --git a/lessons/3-shell/notes.pdf b/lessons/3-shell/notes.pdf index 58e0742..d6fde8e 100644 Binary files a/lessons/3-shell/notes.pdf and b/lessons/3-shell/notes.pdf differ diff --git a/lessons/4-git/notes.pdf b/lessons/4-git/notes.pdf index 324d3e0..42ec4c5 100644 Binary files a/lessons/4-git/notes.pdf and b/lessons/4-git/notes.pdf differ diff --git a/lessons/5-github-basics/notes.pdf b/lessons/5-github-basics/notes.pdf index 2d99b91..2dfa4c1 100644 Binary files a/lessons/5-github-basics/notes.pdf and b/lessons/5-github-basics/notes.pdf differ diff --git a/lessons/6-github-collab/lesson-6-notes.pdf b/lessons/6-github-collab/lesson-6-notes.pdf index 81475b3..bc95e33 100644 Binary files a/lessons/6-github-collab/lesson-6-notes.pdf and b/lessons/6-github-collab/lesson-6-notes.pdf differ diff --git a/lessons/7-data-manipulation/notes.pdf b/lessons/7-data-manipulation/notes.pdf index 87a1cde..355bbe9 100644 Binary files a/lessons/7-data-manipulation/notes.pdf and b/lessons/7-data-manipulation/notes.pdf differ diff --git a/lessons/8-intermediate-r-1/notes.pdf b/lessons/8-intermediate-r-1/notes.pdf index b23fe78..b47fcdc 100644 Binary files a/lessons/8-intermediate-r-1/notes.pdf and b/lessons/8-intermediate-r-1/notes.pdf differ diff --git a/lessons/8-intermediate-r-1/slides.html b/lessons/8-intermediate-r-1/slides.html index 17e76a5..a833db9 100644 --- a/lessons/8-intermediate-r-1/slides.html +++ b/lessons/8-intermediate-r-1/slides.html @@ -461,9 +461,9 @@

Anatomy of a function

# code goes in the curly braces a_function <- function(an_argument) { - # code to execute goes here + # code using an_argument to produce final_output - # whatever is inside return() comes out of the funciton + # whatever is inside return() comes out of the function return(final_output) } diff --git a/lessons/9-intermediate-r-2/notes.pdf b/lessons/9-intermediate-r-2/notes.pdf index 9c4276c..e5057eb 100644 Binary files a/lessons/9-intermediate-r-2/notes.pdf and b/lessons/9-intermediate-r-2/notes.pdf differ diff --git a/search.json b/search.json index ab775ec..785c976 100644 --- a/search.json +++ b/search.json @@ -466,7 +466,7 @@ "href": "lessons/8-intermediate-r-1/slides.html#anatomy-of-a-function", "title": "Intermediate R: Functions and control flow", "section": "Anatomy of a function", - "text": "Anatomy of a function\n# Defining a function\n# a_function will be the name of the function\n# arguments go within the ()\n# code goes in the curly braces\n\na_function <- function(an_argument) {\n # code to execute goes here\n \n # whatever is inside return() comes out of the funciton\n return(final_output) \n}\n\n# Run the code to create the function\n# Then you can use it:\n# a_function(<some_input>)\n#" + "text": "Anatomy of a function\n# Defining a function\n# a_function will be the name of the function\n# arguments go within the ()\n# code goes in the curly braces\n\na_function <- function(an_argument) {\n # code using an_argument to produce final_output\n \n # whatever is inside return() comes out of the function\n return(final_output) \n}\n\n# Run the code to create the function\n# Then you can use it:\n# a_function(<some_input>)\n#" }, { "objectID": "lessons/8-intermediate-r-1/slides.html#coding-time", diff --git a/sitemap.xml b/sitemap.xml index 48ccbbd..5a7de90 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,114 +2,114 @@ https://cct-datascience.github.io/repro-data-sci/survey_responses.html - 2024-09-20T18:31:45.836Z + 2024-09-20T18:32:37.266Z https://cct-datascience.github.io/repro-data-sci/lessons/1-project-management/slides.html - 2024-09-20T18:31:45.804Z + 2024-09-20T18:32:37.234Z https://cct-datascience.github.io/repro-data-sci/lessons/6-github-collab/slides.html - 2024-09-20T18:31:45.834Z + 2024-09-20T18:32:37.264Z https://cct-datascience.github.io/repro-data-sci/lessons/5-github-basics/notes.html - 2024-09-20T18:31:45.831Z + 2024-09-20T18:32:37.261Z https://cct-datascience.github.io/repro-data-sci/lessons/3-shell/notes.html - 2024-09-20T18:31:45.824Z + 2024-09-20T18:32:37.254Z https://cct-datascience.github.io/repro-data-sci/lessons/9-intermediate-r-2/slides.html - 2024-09-20T18:31:45.836Z + 2024-09-20T18:32:37.266Z https://cct-datascience.github.io/repro-data-sci/lessons/8-intermediate-r-1/slides.html - 2024-09-20T18:31:45.836Z + 2024-09-20T18:32:37.266Z https://cct-datascience.github.io/repro-data-sci/lessons/7-data-manipulation/slides.html - 2024-09-20T18:31:45.834Z + 2024-09-20T18:32:37.264Z https://cct-datascience.github.io/repro-data-sci/lessons/5-github-basics/slides.html - 2024-09-20T18:31:45.831Z + 2024-09-20T18:32:37.261Z https://cct-datascience.github.io/repro-data-sci/lessons/3-shell/slides.html - 2024-09-20T18:31:45.825Z + 2024-09-20T18:32:37.255Z https://cct-datascience.github.io/repro-data-sci/lessons/2-markdown-quarto/notes.html - 2024-09-20T18:31:45.821Z + 2024-09-20T18:32:37.251Z https://cct-datascience.github.io/repro-data-sci/lessons/11-getting-help/slides.html - 2024-09-20T18:31:45.819Z + 2024-09-20T18:32:37.249Z https://cct-datascience.github.io/repro-data-sci/lessons/10-get-credit/slides.html - 2024-09-20T18:31:45.810Z + 2024-09-20T18:32:37.240Z https://cct-datascience.github.io/repro-data-sci/colloquium.html - 2024-09-20T18:31:45.798Z + 2024-09-20T18:32:37.228Z https://cct-datascience.github.io/repro-data-sci/about.html - 2024-09-20T18:31:45.798Z + 2024-09-20T18:32:37.228Z https://cct-datascience.github.io/repro-data-sci/lessons/10-get-credit/notes.html - 2024-09-20T18:31:45.810Z + 2024-09-20T18:32:37.240Z https://cct-datascience.github.io/repro-data-sci/lessons/11-getting-help/notes.html - 2024-09-20T18:31:45.818Z + 2024-09-20T18:32:37.248Z https://cct-datascience.github.io/repro-data-sci/lessons/12-drop-in/notes.html - 2024-09-20T18:31:45.821Z + 2024-09-20T18:32:37.250Z https://cct-datascience.github.io/repro-data-sci/lessons/2-markdown-quarto/slides.html - 2024-09-20T18:31:45.821Z + 2024-09-20T18:32:37.251Z https://cct-datascience.github.io/repro-data-sci/lessons/4-git/slides.html - 2024-09-20T18:31:45.831Z + 2024-09-20T18:32:37.260Z https://cct-datascience.github.io/repro-data-sci/lessons/7-data-manipulation/notes.html - 2024-09-20T18:31:45.834Z + 2024-09-20T18:32:37.264Z https://cct-datascience.github.io/repro-data-sci/lessons/8-intermediate-r-1/notes.html - 2024-09-20T18:31:45.836Z + 2024-09-20T18:32:37.266Z https://cct-datascience.github.io/repro-data-sci/lessons/9-intermediate-r-2/notes.html - 2024-09-20T18:31:45.836Z + 2024-09-20T18:32:37.266Z https://cct-datascience.github.io/repro-data-sci/lessons/1-project-management/notes.html - 2024-09-20T18:31:45.803Z + 2024-09-20T18:32:37.233Z https://cct-datascience.github.io/repro-data-sci/lessons/4-git/notes.html - 2024-09-20T18:31:45.830Z + 2024-09-20T18:32:37.260Z https://cct-datascience.github.io/repro-data-sci/lessons/6-github-collab/notes.html - 2024-09-20T18:31:45.833Z + 2024-09-20T18:32:37.263Z https://cct-datascience.github.io/repro-data-sci/index.html - 2024-09-20T18:31:45.800Z + 2024-09-20T18:32:37.230Z https://cct-datascience.github.io/repro-data-sci/lessons/2-markdown-quarto/quarto_notes.html - 2024-09-20T18:31:45.821Z + 2024-09-20T18:32:37.251Z