swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 383 forks source link

Add short section on vector recycling to novice R loop supplement #865

Closed ateucher closed 9 years ago

ateucher commented 9 years ago

This adds a short section on how R recycles vectors when dealing with vectors of unequal length. In order to render the .md file I also had to change the pattern in the list.files call on line 32, as there are more than just the original inflammation csv's that match the "csv" pattern.

This PR is the "small fix" submitted as part of the final assignment for the Software Carpentry instructor training.

ateucher commented 9 years ago

Accidentally committed my .Rhistory - you probably don't want that cluttering the history. I'll close this and resubmit