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 #875

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.

jdblischak commented 9 years ago

Thanks for the PR, @ateucher. The change looks good. Once the new repo is setup (see #880) we can decide the easiest way to merge in your change.

ateucher commented 9 years ago

Thanks @jdblischak, sounds good!

ateucher commented 9 years ago

Hi @jdblischak - I realized we never merged this - should I resubmit to r-novice-inflammation?

rgaiacs commented 9 years ago

@ateucher Yes, please.