Skip to content

Commit

Permalink
Workshop files uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
James Tripp authored and James Tripp committed Nov 8, 2018
1 parent 0049c56 commit 537d0d0
Show file tree
Hide file tree
Showing 12 changed files with 1,959 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.Rproj.user
.Rhistory
.RData
.Ruserdata
14 changes: 7 additions & 7 deletions LICENSE
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
QSTEP_workshops
Copyright (C) 2018 James Tripp

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -645,14 +645,14 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
along with this program. If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

<program> Copyright (C) <year> <name of author>
QSTEP_workshops Copyright (C) 2018 James Tripp
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
<http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# QSTEP Workshops

James delivered a series of workshops to QSTEP students. The focus is teaching basic statistics in R using examples and then generalising to more real data.

The R notebook files for each workshop are hosted here. The HTML version of these notebooks is hosted on another server. The workshops are outlined in the table below (with links to the HTML output) in the order they were delivered.

| File | Topic and HTML link |
| ------------- |:-------------:|
| regression-1-1.Rmd | [Basic introduction to bivariate regression](https://agnor.lnx.warwick.ac.uk/regression-1-1.html) |
| regression-1-2.Rmd |[Simple model evaluation](https://agnor.lnx.warwick.ac.uk/regression-1-2.html) |
| regression-1-3.Rmd | [Applied example using the British Attitudes Survey data](https://agnor.lnx.warwick.ac.uk/regression-1-3.html)|
| regression-2-1.Rmd | [Basic introduction to linear regression](https://agnor.lnx.warwick.ac.uk/regression-2-1.html) |
| regression-2-2.Rmd | [Basic multiple regression](https://agnor.lnx.warwick.ac.uk/regression-2-2.html) |
| regression-2-3.Rmd | [Applied example using the British Attitudes Survey data](https://agnor.lnx.warwick.ac.uk/regression-2-3.html) |
| bridge.Rmd | [Summary/catch-up workshop](https://agnor.lnx.warwick.ac.uk/bridge.html) |
| bridge2.html | [Working with categorical data](https://agnor.lnx.warwick.ac.uk/bridge2.html) |

## Getting Started

1. Download the repository
2. Install R and Rstudio
2. Install the prerequisite R packages
3. Open a .Rmd file

### Prerequisites

* Install R
* The following R packages: [arm](https://cran.r-project.org/web/packages/arm/index.html), [car](https://cran.r-project.org/web/packages/car/index.html), [MASS](https://cran.r-project.org/web/packages/MASS/index.html), [ggplot2](https://ggplot2.tidyverse.org), [popbio](https://cran.r-project.org/web/packages/popbio/index.html)
* Install Rstudio
* Open a .Rmd file from within RStudio

## License

This project is licensed under the GPL 3.0 License - see the [LICENSE.md](https://gitlab.cim.warwick.ac.uk/pssnac/shiny_geo_plot/raw/master/LICENSE) file for details

## Acknowledgments

* The QSTEP staff for supporting the workshops
* Those students who attended the workshops and for engaging with the content so enthusiastically.
Loading

0 comments on commit 537d0d0

Please sign in to comment.