Skip to content

eiriksm/r-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

r-lang

Testing R.

Data sources:

The plot shows the average salary of baseball players per year laid on top of how many 6-packs of imported beers the average salary could buy each year. Extremely useful.

Usage

The script can be run as follows:

Rscript bsalaries.r

This will generate an svg file with the plot. If you get an error (for example if you have an old version of cairo or something) you can run the script with png as only argument. Like so:

Rscript bsalaries.r png

Not so useful beer stats

Releases

No releases published

Packages

No packages published