Skip to content

Commit

Permalink
Fixing dataset issue
Browse files Browse the repository at this point in the history
  • Loading branch information
James-S-Santangelo committed Oct 1, 2019
1 parent 0fb3993 commit a91c152
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lec07-linear-modelling.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ library(car)

If you need to re-download the survey data
```{r, eval=FALSE}
download.file("https://ndownloader.figshare.com/files/2292169", "survey.csv")
survey <- read_csv("survey.csv")
# download.file("https://ndownloader.figshare.com/files/2292169", "survey.csv")
# survey <- read_csv("survey.csv")
```

Load the data and change all character vectors into factors
```{r, eval=FALSE}
```{r}
survey <- read_csv("data/survey.csv.gz")
# mutate_if is a very handy function!
Expand Down

0 comments on commit a91c152

Please sign in to comment.