diff --git a/.nojekyll b/.nojekyll index 2753c24b7..e455a3289 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -2bba659f \ No newline at end of file +03f75a38 \ No newline at end of file diff --git a/Fantasy-Football-Analytics.epub b/Fantasy-Football-Analytics.epub index c33059f84..892dd49cd 100644 Binary files a/Fantasy-Football-Analytics.epub and b/Fantasy-Football-Analytics.epub differ diff --git a/Fantasy-Football-Analytics.pdf b/Fantasy-Football-Analytics.pdf index 11184bf2c..1ecba57d4 100644 Binary files a/Fantasy-Football-Analytics.pdf and b/Fantasy-Football-Analytics.pdf differ diff --git a/getting-started.html b/getting-started.html index 4eeb01aa7..b5bae848e 100644 --- a/getting-started.html +++ b/getting-started.html @@ -1,14 +1,11 @@ - + - - - Fantasy Football Analytics - 2  Getting Started with R for Data Analysis - @@ -43,8 +73,7 @@ - - - - - - - - - - + + -
-
-
-
-
-
+
@@ -191,22 +209,19 @@ Hypothesis Adding an annotation using hypothes.is. To add an annotation, select some text and then click the - - - - + symbol on the pop-up menu. To see the annotations of others, click the - - + symbol in the upper right-hand corner of the page.

-
-
-

2  Getting Started with R for Data Analysis

+
+

+2  Getting Started with R for Data Analysis +

@@ -220,15 +235,36 @@

2  http://www.r-project.org). R is a free software environment; you can download it at no charge here: https://cran.r-project.org

- +

The book uses R for statistical analyses (http://www.r-project.org). R is a free software environment; you can download it at no charge here: https://cran.r-project.org.

+

+2.1 Initial Setup

+

To get started, follow the following steps:

+
    +
  1. Install R: https://cran.r-project.org +
  2. +
  3. Install RStudio Desktop: https://posit.co/download/rstudio-desktop +
  4. +
  5. After installing RStudio, open RStudio and run the following code in the console to install several key R packages:
  6. +
+
+
Code
install.packages(c("petersenlab","tidyverse","psych"))
+
+
+

If you are in Dr. Petersen’s class, also perform the following steps:

+
    +
  1. Set up a free account on GitHub.com.
  2. +
  3. Download GitHub Desktop: https://desktop.github.com/ +
  4. +

+2.2 Installing Packages

+

You can install R packages using the following syntax:

+
+
Code
install.packages("INSERT_PACKAGE_NAME_HERE")
+
+
-
-
+
- +

Feedback

@@ -259,12 +295,10 @@

Email Notification

The online version of this book will remain open access. If you want to know when the print version of the book is for sale, enter your email below so I can let you know. -
- -
+
+
- - -