Software Carpentry introduction to R for novices using inflammation data.
HTML Python R CSS Makefile JavaScript Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Suggest template language Apr 25, 2017
_episodes Adhere keys to styleguide Aug 21, 2018
_episodes_rmd Adhere keys to styleguide Aug 21, 2018
_extras Adhere keys to styleguide Aug 21, 2018
_includes Correct blockquote types (fix #390) Aug 21, 2018
_layouts use favicons for workshop page May 15, 2018
assets Fix font size of h2 in call out box May 18, 2018
bin merge styles v9.5.2 Jun 19, 2018
code Trying to fix unclosed style block Jul 5, 2016
data Tidying up files after style merge Jul 5, 2016
fig Purge MathJax remains & render equation as image (follow-up to #363) Jun 20, 2018
files Tidying up files after style merge Jul 5, 2016
.gitignore merge styles v9.5.2 Jun 19, 2018
.mailmap Updating .mailmap and AUTHORS before release Aug 3, 2017
.update-copyright.conf .update-copyright.conf: Configure update-copyright Mar 28, 2015
AUTHORS Updating .mailmap and AUTHORS before release Aug 3, 2017
CITATION Updating CITATION file Jul 19, 2016
CODE_OF_CONDUCT.md [fix carpentries/styles#300] add CODE_OF_CONDUCT.md to root Jun 19, 2018
CONTRIBUTING.md Merge pull request #362 from diyadas/gh-pages Jun 21, 2018
LICENSE.md Fix links in LICENSE May 17, 2018
Makefile Merge pull request #243 from alee/docker Jun 11, 2018
README.md update URLs Jun 12, 2018
_config.yml update _config.yml Jun 19, 2018
aio.md remove metadata for aio.md Jun 19, 2018
index.md Repair reference links (fix #385 & fixup dedaf2e) Jul 24, 2018
r-novice-inflammation.Rproj support coherency in maintenance Jan 31, 2018
reference.md Repair page layout (same as #377 & fixes #384) Jul 23, 2018
requirements.txt requirements.txt: Add update-copyright for maintaining contributor list Mar 11, 2015
setup.md Fixup 18f6d4b see #377 Jun 23, 2018

README.md

Create a Slack Account with us Slack Status

r-novice-inflammation

Introduction to R for non-programmers using inflammation data.

Current maintainers:

The goal of this lesson is to teach novice programmers to write modular code to perform a data analysis. R is used to teach these skills because it is a commonly used programming language in many scientific disciplines. However, the emphasis is not on teaching every aspect of R, but instead on language agnostic principles like automation with loops and encapsulation with functions (see Best Practices for Scientific Computing to learn more). This lesson is a translation of the Python version, and is also available in MATLAB.

The example used in this lesson analyzes a set of 12 data files with inflammation data collected from a trial for a new treatment for arthritis (the data was simulated). Learners are shown how it is better to create a function and apply it to each of the 12 files using a loop instead of using copy-paste to analyze the 12 files individually.

Contributing

Please see the current list of issues for ideas for contributing to this repository. For making your contribution, we use the GitHub flow, which is nicely explained in the chapter Contributing to a Project in Pro Git by Scott Chacon.

General instructions for making contributions are summarized in CONTRIBUTING.md. When editing topic pages for R lessons, you should change the source R Markdown file (*.Rmd). Only changes to R markdown files and other supporting files (e.g. data files) should be committed to Git.

To view how the changes will look, when viewed in a web browser, you can render the html pages by running make serve from the base of the repository. Generating the html file(s) is required for viewing the online version of the lessons (you can learn more about the design of the build process). Building the rendered page with the Makefile requires installing some dependencies first. In addition to the dependencies listed in the lesson template documentation, you also need to install the R package knitr.

Once you've made your edits and rendered the corresponding html files, you need to add, commit, and push just the source R Markdown file(s) and any supporting files (e.g. data files). Changes generated by the make serve command should not be committed or included in a pull request. These changes will be taken care of by the lesson maintainer when the PR is merged.

Getting Help

Please see https://github.com/carpentries/lesson-example for instructions on formatting, building, and submitting lessons, or run make in this directory for a list of helpful commands.

If you have questions or proposals, please send them to the r-discuss mailing list.