Skip to content

Commit

Permalink
ch 5 finalised with paircoding and knowledge test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabymahrholz committed Oct 17, 2024
1 parent 0b3dbcf commit 089f32b
Show file tree
Hide file tree
Showing 98 changed files with 9,490 additions and 120 deletions.
4 changes: 2 additions & 2 deletions .quarto/_freeze/04-dataviz/execute-results/html.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .quarto/_freeze/05-dataviz2/execute-results/html.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .quarto/cites/index.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"01-basics.qmd":[],"04-prob-binom-one-sample.qmd":[],"references.qmd":[],"appendix-b-updating-packages.qmd":[],"04-chi-square-one-sample.qmd":[],"10-multiple-regression.qmd":[],"06-chi-square-one-sample.qmd":[],"07-independent.qmd":[],"webexercises.qmd":[],"08-correlation.qmd":[],"appendix-x-How-to-cite-R.qmd":[],"03-wrangling2.qmd":[],"appendix-c-exporting-server.qmd":[],"07-apes.qmd":[],"appendix-y-license.qmd":[],"instructions.qmd":["usethis"],"12-one-way-anova.qmd":[],"06-paired.qmd":[],"11-one-way-anova.qmd":[],"appendix-a-installing-r.qmd":[],"05-dataviz2.qmd":[],"10-regression.qmd":[],"05-chi-square-one-sample.qmd":[],"11-multiple-regression.qmd":[],"03-dataviz.qmd":[],"12-factorial-anova.qmd":[],"09-correlation.qmd":[],"06-independent.qmd":[],"02-wrangling.qmd":[],"04-dataviz2.qmd":[],"index.qmd":[],"05-independent.qmd":[],"08-paired.qmd":[],"13-factorial-anova.qmd":[],"07-paired.qmd":[],"appendix-d-symbols.qmd":[],"09-simple-regression.qmd":[],"04-dataviz.qmd":[]}
{"05-chi-square-one-sample.qmd":[],"11-multiple-regression.qmd":[],"02-wrangling.qmd":[],"10-regression.qmd":[],"04-prob-binom-one-sample.qmd":[],"appendix-c-exporting-server.qmd":[],"12-one-way-anova.qmd":[],"09-correlation.qmd":[],"07-apes.qmd":[],"07-paired.qmd":[],"06-independent.qmd":[],"appendix-y-license.qmd":[],"04-dataviz2.qmd":[],"index.qmd":[],"webexercises.qmd":[],"instructions.qmd":["usethis"],"12-factorial-anova.qmd":[],"05-dataviz2.qmd":[],"appendix-b-updating-packages.qmd":[],"03-wrangling2.qmd":[],"04-chi-square-one-sample.qmd":[],"appendix-a-installing-r.qmd":[],"05-independent.qmd":[],"04-dataviz.qmd":[],"11-one-way-anova.qmd":[],"appendix-d-symbols.qmd":[],"13-factorial-anova.qmd":[],"09-simple-regression.qmd":[],"08-correlation.qmd":[],"10-multiple-regression.qmd":[],"appendix-x-How-to-cite-R.qmd":[],"references.qmd":[],"06-paired.qmd":[],"01-basics.qmd":[],"03-dataviz.qmd":[],"07-independent.qmd":[],"06-chi-square-one-sample.qmd":[],"08-paired.qmd":[]}
2 changes: 1 addition & 1 deletion .quarto/xref/36db76a0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["citing-r-rstudio"],"entries":[],"options":{"chapter-id":"citing-r-rstudio","chapters-alpha":true,"chapters":true,"chapters-appendix":true}}
{"entries":[],"options":{"chapters-alpha":true,"chapters":true,"chapter-id":"citing-r-rstudio","chapters-appendix":true},"headings":["citing-r-rstudio"]}
2 changes: 1 addition & 1 deletion .quarto/xref/526e244b
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[{"key":"sec-dataviz","order":{"number":1,"section":[4,0,0,0,0,0,0]}},{"key":"fig-barchart_grouped","caption":"Default grouped barchart (left) and one with a few more layers added (right)","order":{"number":4,"section":[4,6,0,0,0,0,0]}},{"key":"fig-barchart_na_no_na","caption":"Percent stacked barchart with (left) and without missing values (right)","order":{"number":6,"section":[4,6,0,0,0,0,0]}},{"key":"fig-barcharts_stacked","caption":"Stacked barchart (left), and Percent stacked barchart (right)","order":{"number":3,"section":[4,6,0,0,0,0,0]}},{"key":"fig-bc-base","caption":"Default barchart","order":{"number":1,"section":[4,4,0,0,0,0,0]}},{"key":"fig-barchart_grouped_na","caption":"Default grouped barchart (left) and one with a few more layers added (right) for a variable with missing values","order":{"number":5,"section":[4,6,0,0,0,0,0]}},{"key":"fig-col","caption":"Column plot with different coloured bars","order":{"number":2,"section":[4,5,0,0,0,0,0]}}],"options":{"chapter-id":"sec-dataviz","chapters":true},"headings":["intended-learning-outcomes","individual-walkthrough","building-plots","activity-1-set-up-and-data-for-today","activity-2-load-in-libraries-read-in-data-and-adjust-data-types","activity-3-barchart-geom_bar","activity-4-column-plot-geom_col","activity-5-stacked-percent-stacked-and-grouped-barchart","activity-6-save-your-plots","pair-coding","task-1-open-the-r-project-for-the-lab","task-2-create-a-new-.rmd-file","task-3-load-in-the-library-and-read-in-the-data","task-4-create-an-appropriate-plot","test-your-knowledge","knowledge-check","question-1","question-2","question-3","question-4","error-mode","question-5","question-6","question-7","question-8","sec-dataviz"]}
{"entries":[{"order":{"number":1,"section":[4,0,0,0,0,0,0]},"key":"sec-dataviz"},{"order":{"number":1,"section":[4,6,0,0,0,0,0]},"key":"sec-adv_bar","caption":"4.6 Activity 5: Stacked, Percent Stacked, and Grouped Barchart"},{"order":{"number":4,"section":[4,6,0,0,0,0,0]},"key":"fig-barchart_grouped","caption":"Default grouped barchart (left) and one with a few more layers added (right)"},{"order":{"number":6,"section":[4,6,0,0,0,0,0]},"key":"fig-barchart_na_no_na","caption":"Percent stacked barchart with (left) and without missing values (right)"},{"order":{"number":2,"section":[4,5,0,0,0,0,0]},"key":"fig-col","caption":"Column plot with different coloured bars"},{"order":{"number":3,"section":[4,6,0,0,0,0,0]},"key":"fig-barcharts_stacked","caption":"Stacked barchart (left), and Percent stacked barchart (right)"},{"order":{"number":1,"section":[4,4,0,0,0,0,0]},"key":"fig-bc-base","caption":"Default barchart"},{"order":{"number":5,"section":[4,6,0,0,0,0,0]},"key":"fig-barchart_grouped_na","caption":"Default grouped barchart (left) and one with a few more layers added (right) for a variable with missing values"}],"headings":["intended-learning-outcomes","individual-walkthrough","building-plots","activity-1-set-up-and-data-for-today","activity-2-load-in-libraries-read-in-data-and-adjust-data-types","activity-3-barchart-geom_bar","activity-4-column-plot-geom_col","sec-adv_bar","activity-6-save-your-plots","pair-coding","task-1-open-the-r-project-for-the-lab","task-2-create-a-new-.rmd-file","task-3-load-in-the-library-and-read-in-the-data","task-4-create-an-appropriate-plot","test-your-knowledge","knowledge-check","question-1","question-2","question-3","question-4","error-mode","question-5","question-6","question-7","question-8","sec-dataviz"],"options":{"chapter-id":"sec-dataviz","chapters":true}}
2 changes: 1 addition & 1 deletion .quarto/xref/5c23a141
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"options":{"chapters":true,"chapter-id":"sec-basics"},"entries":[{"order":{"section":[1,0,0,0,0,0,0],"number":1},"key":"sec-basics"},{"caption":"1.6.2 Data types","order":{"section":[1,6,2,0,0,0,0],"number":6},"key":"sec-datatypes"},{"caption":"1.6 Activity 5: Familiarise yourself with the data","order":{"section":[1,6,0,0,0,0,0],"number":5},"key":"sec-familiarise"},{"caption":"1.2 Activity 1: Creating a new project","order":{"section":[1,2,0,0,0,0,0],"number":1},"key":"sec-project"},{"caption":"1.3.2 Code chunks","order":{"section":[1,3,2,0,0,0,0],"number":3},"key":"sec-chunks"},{"caption":"1.4 Activity 3: Download the data","order":{"section":[1,4,0,0,0,0,0],"number":4},"key":"sec-download_data_ch1"},{"caption":"1.3 Activity 2: Create a new R Markdown file","order":{"section":[1,3,0,0,0,0,0],"number":2},"key":"sec-rmd"},{"caption":"Default .Rmd with highlighting - names in pink and knitr display options in purple","order":{"section":[1,3,2,0,0,0,0],"number":1},"key":"fig-rmd"}],"headings":["intended-learning-outcomes","individual-walkthrough","r-and-r-studio","r-server","installing-r-and-rstudio-on-your-computer","settings-for-reproducibility","rstudio-panes","sec-project","sec-rmd","markdown","heading-levels","you-would-incorporate-this-into-your-text-as","and-it-will-be-displayed-in-your-knitted-html-file-as","unordered-and-ordered-lists","emphasis","sec-chunks","sec-download_data_ch1","activity-4-installing-packages-loading-packages-and-reading-in-data","installing-packages","loading-packages-and-reading-in-data","sec-familiarise","first-glimpse-at-the-data","sec-datatypes","variable-types","pair-coding","task-1-create-a-project-folder-for-the-lab-activities","task-2-create-a-new-.rmd-file","task-3-download-the-data","task-4-familiarise-yourself-with-the-data","test-your-knowledge","knowledge-check","question-1","question-2","question-3","question-4","error-mode","question-5","question-6","question-7","question-8","sec-basics"]}
{"headings":["intended-learning-outcomes","individual-walkthrough","r-and-r-studio","r-server","installing-r-and-rstudio-on-your-computer","settings-for-reproducibility","rstudio-panes","sec-project","sec-rmd","markdown","heading-levels","you-would-incorporate-this-into-your-text-as","and-it-will-be-displayed-in-your-knitted-html-file-as","unordered-and-ordered-lists","emphasis","sec-chunks","sec-download_data_ch1","activity-4-installing-packages-loading-packages-and-reading-in-data","installing-packages","loading-packages-and-reading-in-data","sec-familiarise","first-glimpse-at-the-data","sec-datatypes","variable-types","pair-coding","task-1-create-a-project-folder-for-the-lab-activities","task-2-create-a-new-.rmd-file","task-3-download-the-data","task-4-familiarise-yourself-with-the-data","test-your-knowledge","knowledge-check","question-1","question-2","question-3","question-4","error-mode","question-5","question-6","question-7","question-8","sec-basics"],"entries":[{"order":{"section":[1,0,0,0,0,0,0],"number":1},"key":"sec-basics"},{"order":{"section":[1,6,2,0,0,0,0],"number":6},"key":"sec-datatypes","caption":"1.6.2 Data types"},{"order":{"section":[1,3,0,0,0,0,0],"number":2},"key":"sec-rmd","caption":"1.3 Activity 2: Create a new R Markdown file"},{"order":{"section":[1,4,0,0,0,0,0],"number":4},"key":"sec-download_data_ch1","caption":"1.4 Activity 3: Download the data"},{"order":{"section":[1,3,2,0,0,0,0],"number":3},"key":"sec-chunks","caption":"1.3.2 Code chunks"},{"order":{"section":[1,6,0,0,0,0,0],"number":5},"key":"sec-familiarise","caption":"1.6 Activity 5: Familiarise yourself with the data"},{"order":{"section":[1,3,2,0,0,0,0],"number":1},"key":"fig-rmd","caption":"Default .Rmd with highlighting - names in pink and knitr display options in purple"},{"order":{"section":[1,2,0,0,0,0,0],"number":1},"key":"sec-project","caption":"1.2 Activity 1: Creating a new project"}],"options":{"chapter-id":"sec-basics","chapters":true}}
2 changes: 1 addition & 1 deletion .quarto/xref/5f34e12a
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"options":{"chapter-id":"sec-wrangling2","chapters":true},"entries":[{"key":"sec-wrangling2","order":{"section":[3,0,0,0,0,0,0],"number":1}}],"headings":["intended-learning-outcomes","individual-walkthrough","activity-1-setup","activity-2-load-in-the-libraries-and-read-in-the-data","activity-3-confidence-in-understanding-open-science-practices","the-main-goal-is-to-compute-the-mean-understanding-score-per-participant.","steps-1-and-2-select-and-pivot","step-3-recoding-the-values","activity-4-survey-of-attitudes-toward-statistics-sats-28","the-main-goal-is-to-compute-the-mean-sats-28-score-for-each-of-the-4-subscales-per-participant-for-time-point-1.","steps-1-and-2-select-and-pivot-1","step-3-separate-subscale-information","step-4-identifying-reverse-coded-items-and-then-correct-them","step-5","step-6","activity-5-error-mode-perceptions-of-supervisory-support","the-main-goal-is-to-compute-the-mean-score-for-perceived-supervisory-support-per-participant.","activity-6-join-everything-together-with-_join","activity-7-knit-and-export","pair-coding","task-1-open-the-r-project-for-the-lab","task-2-open-your-.rmd-file-from-last-week-or-create-a-new-.rmd-file","task-3-load-in-the-library-and-read-in-the-data","task-4-calculating-the-mean-for-loneliness_pre","test-your-knowledge-and-challenge-yourself","knowledge-check","question-1","question-2","question-3","question-4","challenge-yourself","sec-wrangling2"]}
{"options":{"chapters":true,"chapter-id":"sec-wrangling2"},"entries":[{"order":{"section":[3,0,0,0,0,0,0],"number":1},"key":"sec-wrangling2"}],"headings":["intended-learning-outcomes","individual-walkthrough","activity-1-setup","activity-2-load-in-the-libraries-and-read-in-the-data","activity-3-confidence-in-understanding-open-science-practices","the-main-goal-is-to-compute-the-mean-understanding-score-per-participant.","steps-1-and-2-select-and-pivot","step-3-recoding-the-values","activity-4-survey-of-attitudes-toward-statistics-sats-28","the-main-goal-is-to-compute-the-mean-sats-28-score-for-each-of-the-4-subscales-per-participant-for-time-point-1.","steps-1-and-2-select-and-pivot-1","step-3-separate-subscale-information","step-4-identifying-reverse-coded-items-and-then-correct-them","step-5","step-6","activity-5-error-mode-perceptions-of-supervisory-support","the-main-goal-is-to-compute-the-mean-score-for-perceived-supervisory-support-per-participant.","activity-6-join-everything-together-with-_join","activity-7-knit-and-export","pair-coding","task-1-open-the-r-project-for-the-lab","task-2-open-your-.rmd-file-from-last-week-or-create-a-new-.rmd-file","task-3-load-in-the-library-and-read-in-the-data","task-4-calculating-the-mean-for-loneliness_pre","test-your-knowledge-and-challenge-yourself","knowledge-check","question-1","question-2","question-3","question-4","challenge-yourself","sec-wrangling2"]}
2 changes: 1 addition & 1 deletion .quarto/xref/7a0d69cd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[{"order":{"number":1,"section":[2,0,0,0,0,0,0]},"key":"sec-wrangling"},{"order":{"number":1,"section":[2,4,0,0,0,0,0]},"key":"sec-ch2_act4","caption":"2.4 Activity 4: Questionable Research Practices (QRPs)"}],"headings":["intended-learning-outcomes","individual-walkthrough","activity-1-setup","activity-2-load-in-the-libraries-and-read-in-the-data","activity-3-calculating-demographics","for-the-full-sample-using-summarise","fixing-age","computing-summary-stats","computing-summary-stats---third-attempt","per-gender-using-summarise-and-group_by","adding-percentages","sec-ch2_act4","the-main-goal-is-to-compute-the-mean-qrp-score-per-participant-for-time-point-1.","activity-5-knitting","activity-6-export-a-data-object-as-a-csv","pair-coding","task-1-open-the-r-project-you-created-last-week","task-2-open-your-.rmd-file-from-last-week","task-3-load-in-the-library-and-read-in-the-data","task-4-calculating-the-mean-for-flourishing_pre","test-your-knowledge-and-challenge-yourself","knowledge-check","question-1","question-2","question-3","question-4","question-5","error-mode","question-6","question-7","question-8","challenge-yourself","sec-wrangling"],"options":{"chapters":true,"chapter-id":"sec-wrangling"}}
{"entries":[{"order":{"section":[2,0,0,0,0,0,0],"number":1},"key":"sec-wrangling"},{"caption":"2.4 Activity 4: Questionable Research Practices (QRPs)","order":{"section":[2,4,0,0,0,0,0],"number":1},"key":"sec-ch2_act4"}],"options":{"chapter-id":"sec-wrangling","chapters":true},"headings":["intended-learning-outcomes","individual-walkthrough","activity-1-setup","activity-2-load-in-the-libraries-and-read-in-the-data","activity-3-calculating-demographics","for-the-full-sample-using-summarise","fixing-age","computing-summary-stats","computing-summary-stats---third-attempt","per-gender-using-summarise-and-group_by","adding-percentages","sec-ch2_act4","the-main-goal-is-to-compute-the-mean-qrp-score-per-participant-for-time-point-1.","activity-5-knitting","activity-6-export-a-data-object-as-a-csv","pair-coding","task-1-open-the-r-project-you-created-last-week","task-2-open-your-.rmd-file-from-last-week","task-3-load-in-the-library-and-read-in-the-data","task-4-calculating-the-mean-for-flourishing_pre","test-your-knowledge-and-challenge-yourself","knowledge-check","question-1","question-2","question-3","question-4","question-5","error-mode","question-6","question-7","question-8","challenge-yourself","sec-wrangling"]}
2 changes: 1 addition & 1 deletion .quarto/xref/7d37d4a0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[],"options":{"chapters":true},"headings":[]}
{"entries":[],"headings":[],"options":{"chapters":true}}
2 changes: 1 addition & 1 deletion .quarto/xref/88fa28e0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"entries":[{"key":"sec-updating-r","order":{"section":[2,0,0,0,0,0,0],"number":1}},{"key":"sec-package-install-troubleshooting","caption":"B.4 Troubleshooting","order":{"section":[2,4,0,0,0,0,0],"number":1}}],"headings":["updating-rstudio","updating-r","windows","mac","updating-packages","sec-package-install-troubleshooting","non-zero-exit-status","cannot-open-file","sec-updating-r"],"options":{"chapters":true,"chapter-id":"sec-updating-r","chapters-appendix":true,"chapters-alpha":true}}
{"options":{"chapters":true,"chapters-appendix":true,"chapter-id":"sec-updating-r","chapters-alpha":true},"entries":[{"key":"sec-updating-r","order":{"number":1,"section":[2,0,0,0,0,0,0]}},{"key":"sec-package-install-troubleshooting","caption":"B.4 Troubleshooting","order":{"number":1,"section":[2,4,0,0,0,0,0]}}],"headings":["updating-rstudio","updating-r","windows","mac","updating-packages","sec-package-install-troubleshooting","non-zero-exit-status","cannot-open-file","sec-updating-r"]}
2 changes: 1 addition & 1 deletion .quarto/xref/a1f9708d
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["how-to-install-r-and-rstudio","sec-installing-r"],"options":{"chapter-id":"sec-installing-r","chapters-appendix":true,"chapters-alpha":true,"chapters":true},"entries":[{"key":"sec-installing-r","order":{"section":[1,0,0,0,0,0,0],"number":1}}]}
{"options":{"chapter-id":"sec-installing-r","chapters-alpha":true,"chapters-appendix":true,"chapters":true},"entries":[{"key":"sec-installing-r","order":{"section":[1,0,0,0,0,0,0],"number":1}}],"headings":["how-to-install-r-and-rstudio","sec-installing-r"]}
2 changes: 1 addition & 1 deletion .quarto/xref/a7dd9ff4
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"headings":["symbols"],"options":{"chapter-id":"symbols","chapters":true,"chapters-appendix":true,"chapters-alpha":true},"entries":[]}
{"options":{"chapters-alpha":true,"chapters-appendix":true,"chapter-id":"symbols","chapters":true},"headings":["symbols"],"entries":[]}
Loading

0 comments on commit 089f32b

Please sign in to comment.