Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed May 31, 2024
1 parent db1195d commit 78b141f
Show file tree
Hide file tree
Showing 20 changed files with 1,053 additions and 209 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cea82a95
3313e520
74 changes: 40 additions & 34 deletions appendix.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">


<title>R for Psychology - 10&nbsp; Appendix</title>
<title>R for Psychology - 11&nbsp; Appendix</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -115,7 +115,7 @@
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<i class="bi bi-layout-text-sidebar-reverse"></i>
</button>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./appendix.html"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Appendix</span></a></li></ol></nav>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./appendix.html"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Appendix</span></a></li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
<button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();">
Expand Down Expand Up @@ -187,23 +187,29 @@
<a href="./inferences.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">7</span>&nbsp; <span class="chapter-title">Infer</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./maintain.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">8</span>&nbsp; <span class="chapter-title">Maintainer’s Guide</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./contributing.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">8</span>&nbsp; <span class="chapter-title">Contributing</span></span></a>
<span class="menu-text"><span class="chapter-number">9</span>&nbsp; <span class="chapter-title">Contributing Guidelines</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./datasets.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">9</span>&nbsp; <span class="chapter-title">Data</span></span></a>
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Data</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./appendix.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Appendix</span></span></a>
<span class="menu-text"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Appendix</span></span></a>
</div>
</li>
<li class="sidebar-item">
Expand All @@ -222,17 +228,17 @@
<h2 id="toc-title">Table of contents</h2>

<ul>
<li><a href="#how-to-install-r-and-rstudio-on-your-machine" id="toc-how-to-install-r-and-rstudio-on-your-machine" class="nav-link active" data-scroll-target="#how-to-install-r-and-rstudio-on-your-machine"><span class="header-section-number">11</span> how to install R and RStudio on your machine</a></li>
<li><a href="#how-to-install-packages" id="toc-how-to-install-packages" class="nav-link" data-scroll-target="#how-to-install-packages"><span class="header-section-number">12</span> how to install packages</a>
<li><a href="#how-to-install-r-and-rstudio-on-your-machine" id="toc-how-to-install-r-and-rstudio-on-your-machine" class="nav-link active" data-scroll-target="#how-to-install-r-and-rstudio-on-your-machine"><span class="header-section-number">12</span> how to install R and RStudio on your machine</a></li>
<li><a href="#how-to-install-packages" id="toc-how-to-install-packages" class="nav-link" data-scroll-target="#how-to-install-packages"><span class="header-section-number">13</span> how to install packages</a>
<ul class="collapse">
<li><a href="#option-1" id="toc-option-1" class="nav-link" data-scroll-target="#option-1"><span class="header-section-number">12.1</span> option 1</a></li>
<li><a href="#option-2" id="toc-option-2" class="nav-link" data-scroll-target="#option-2"><span class="header-section-number">12.2</span> option 2</a></li>
<li><a href="#useful-packages-for-psychology" id="toc-useful-packages-for-psychology" class="nav-link" data-scroll-target="#useful-packages-for-psychology"><span class="header-section-number">12.3</span> useful packages for psychology</a></li>
<li><a href="#option-1" id="toc-option-1" class="nav-link" data-scroll-target="#option-1"><span class="header-section-number">13.1</span> option 1</a></li>
<li><a href="#option-2" id="toc-option-2" class="nav-link" data-scroll-target="#option-2"><span class="header-section-number">13.2</span> option 2</a></li>
<li><a href="#useful-packages-for-psychology" id="toc-useful-packages-for-psychology" class="nav-link" data-scroll-target="#useful-packages-for-psychology"><span class="header-section-number">13.3</span> useful packages for psychology</a></li>
</ul></li>
<li><a href="#using-inline-code" id="toc-using-inline-code" class="nav-link" data-scroll-target="#using-inline-code"><span class="header-section-number">13</span> using inline code</a></li>
<li><a href="#helpful-console-commands" id="toc-helpful-console-commands" class="nav-link" data-scroll-target="#helpful-console-commands"><span class="header-section-number">14</span> helpful console commands</a></li>
<li><a href="#useful-keyboard-shortcuts" id="toc-useful-keyboard-shortcuts" class="nav-link" data-scroll-target="#useful-keyboard-shortcuts"><span class="header-section-number">15</span> useful keyboard shortcuts</a></li>
<li><a href="#commonly-encountered-errors" id="toc-commonly-encountered-errors" class="nav-link" data-scroll-target="#commonly-encountered-errors"><span class="header-section-number">16</span> commonly encountered errors</a></li>
<li><a href="#using-inline-code" id="toc-using-inline-code" class="nav-link" data-scroll-target="#using-inline-code"><span class="header-section-number">14</span> using inline code</a></li>
<li><a href="#helpful-console-commands" id="toc-helpful-console-commands" class="nav-link" data-scroll-target="#helpful-console-commands"><span class="header-section-number">15</span> helpful console commands</a></li>
<li><a href="#useful-keyboard-shortcuts" id="toc-useful-keyboard-shortcuts" class="nav-link" data-scroll-target="#useful-keyboard-shortcuts"><span class="header-section-number">16</span> useful keyboard shortcuts</a></li>
<li><a href="#commonly-encountered-errors" id="toc-commonly-encountered-errors" class="nav-link" data-scroll-target="#commonly-encountered-errors"><span class="header-section-number">17</span> commonly encountered errors</a></li>
</ul>
</nav>
</div>
Expand All @@ -241,7 +247,7 @@ <h2 id="toc-title">Table of contents</h2>

<header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title">
<h1 class="title"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Appendix</span></h1>
<h1 class="title"><span class="chapter-number">11</span>&nbsp; <span class="chapter-title">Appendix</span></h1>
</div>


Expand All @@ -258,21 +264,21 @@ <h1 class="title"><span class="chapter-number">10</span>&nbsp; <span class="chap
</header>


<section id="how-to-install-r-and-rstudio-on-your-machine" class="level1" data-number="11">
<h1 data-number="11"><span class="header-section-number">11</span> how to install R and RStudio on your machine</h1>
<section id="how-to-install-r-and-rstudio-on-your-machine" class="level1" data-number="12">
<h1 data-number="12"><span class="header-section-number">12</span> how to install R and RStudio on your machine</h1>
<p>The marvellous Danielle Navarro has LOTS of useful R learning resources on her YouTube channel. <a href="https://www.youtube.com/playlist?list=PLRPB0ZzEYegOZivdelOuEn-R-XUN-DOjd">This playlist</a> about how to install R and RStudio is particularly useful; no matter which operating system you are dealing with… Dani has you covered.</p>
</section>
<section id="how-to-install-packages" class="level1" data-number="12">
<h1 data-number="12"><span class="header-section-number">12</span> how to install packages</h1>
<section id="how-to-install-packages" class="level1" data-number="13">
<h1 data-number="13"><span class="header-section-number">13</span> how to install packages</h1>
<p>You only need to install a package once on your machine. Once the package is installed, you will need to use <code>library()</code> to load the functions in it every time you want to use it, but the installation is a one time job. So you can either do it in the console, or using the packages tab.</p>
<section id="option-1" class="level2" data-number="12.1">
<h2 data-number="12.1" class="anchored" data-anchor-id="option-1"><span class="header-section-number">12.1</span> option 1</h2>
<section id="option-1" class="level2" data-number="13.1">
<h2 data-number="13.1" class="anchored" data-anchor-id="option-1"><span class="header-section-number">13.1</span> option 1</h2>
<p>Install a package by typing the following command with the name of the package you would like to install in the console.</p>
<pre><code>install.packages("packagename")
</code></pre>
</section>
<section id="option-2" class="level2" data-number="12.2">
<h2 data-number="12.2" class="anchored" data-anchor-id="option-2"><span class="header-section-number">12.2</span> option 2</h2>
<section id="option-2" class="level2" data-number="13.2">
<h2 data-number="13.2" class="anchored" data-anchor-id="option-2"><span class="header-section-number">13.2</span> option 2</h2>
<p>Alternatively, search for the package you would like to install in the packages tab.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
Expand All @@ -284,8 +290,8 @@ <h2 data-number="12.2" class="anchored" data-anchor-id="option-2"><span class="h
<p>Remember once you have installed a package, you will need to use the <code>library()</code> function to load it before it will work.</p>
</blockquote>
</section>
<section id="useful-packages-for-psychology" class="level2" data-number="12.3">
<h2 data-number="12.3" class="anchored" data-anchor-id="useful-packages-for-psychology"><span class="header-section-number">12.3</span> useful packages for psychology</h2>
<section id="useful-packages-for-psychology" class="level2" data-number="13.3">
<h2 data-number="13.3" class="anchored" data-anchor-id="useful-packages-for-psychology"><span class="header-section-number">13.3</span> useful packages for psychology</h2>
<ul>
<li><code>tidyverse</code> this is a cluster of super helpful data wrangling and visualisation tools.</li>
<li><code>here</code> this package helps direct R to the correct place for files based on the current working directory.</li>
Expand All @@ -305,8 +311,8 @@ <h2 data-number="12.3" class="anchored" data-anchor-id="useful-packages-for-psyc
</ul>
</section>
</section>
<section id="using-inline-code" class="level1" data-number="13">
<h1 data-number="13"><span class="header-section-number">13</span> using inline code</h1>
<section id="using-inline-code" class="level1" data-number="14">
<h1 data-number="14"><span class="header-section-number">14</span> using inline code</h1>
<blockquote class="blockquote">
<p>JR maybe this piece needs to go in a separate chapter about writing with RMarkdown, papaja etc</p>
</blockquote>
Expand All @@ -326,8 +332,8 @@ <h1 data-number="13"><span class="header-section-number">13</span> using inline
<p>INSERT INLINE EXAMPLE HERE</p>
</blockquote>
</section>
<section id="helpful-console-commands" class="level1" data-number="14">
<h1 data-number="14"><span class="header-section-number">14</span> helpful console commands</h1>
<section id="helpful-console-commands" class="level1" data-number="15">
<h1 data-number="15"><span class="header-section-number">15</span> helpful console commands</h1>
<ul>
<li>names(objectname) - returns a list of variable names for that dataframe, making it less likely you will type things incorrectly</li>
<li>getwd() - returns the path to the current working directory. Run this in the console.</li>
Expand All @@ -336,12 +342,12 @@ <h1 data-number="14"><span class="header-section-number">14</span> helpful conso
<li>?function - brings up the Help info for that function</li>
</ul>
</section>
<section id="useful-keyboard-shortcuts" class="level1" data-number="15">
<h1 data-number="15"><span class="header-section-number">15</span> useful keyboard shortcuts</h1>
<section id="useful-keyboard-shortcuts" class="level1" data-number="16">
<h1 data-number="16"><span class="header-section-number">16</span> useful keyboard shortcuts</h1>
<p>Option-Command-I = inserts a new code chunk Command-Enter = runs the chunk of code that your cursor is in</p>
</section>
<section id="commonly-encountered-errors" class="level1" data-number="16">
<h1 data-number="16"><span class="header-section-number">16</span> commonly encountered errors</h1>
<section id="commonly-encountered-errors" class="level1" data-number="17">
<h1 data-number="17"><span class="header-section-number">17</span> commonly encountered errors</h1>


</section>
Expand Down Expand Up @@ -759,7 +765,7 @@ <h1 data-number="16"><span class="header-section-number">16</span> commonly enco
<nav class="page-navigation">
<div class="nav-page nav-page-previous">
<a href="./datasets.html" class="pagination-link" aria-label="Data">
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">9</span>&nbsp; <span class="chapter-title">Data</span></span>
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">10</span>&nbsp; <span class="chapter-title">Data</span></span>
</a>
</div>
<div class="nav-page nav-page-next">
Expand Down
Loading

0 comments on commit 78b141f

Please sign in to comment.