How to run the analysis: Here you may observe the cleaned up output with step by step explanations of what I was trying to do.
- To replicate please install the following four files into an empty folder:
The three R scripts...
01_origData.R
02_newData.R
FinalScript.R
gapminderDataFiveYear.txt
And finally the data
- The FinalScript.R script should be opened in RStudio and sourced with new folder as current directory.
- Following a successful source the following files should have been created:
gapminderOrderedContinents.tsv
gapminderWithInterceptsOrdered.tsv
gapminderbestworstcoef.txt
gapminderbestworstlife.txt
meanLifeExp.png
LifeExpErrorIntervalsLinearModel.png
LayeredHistogram.png
africaExtremeCountriesWithLM.png
americasExtremeCountriesWithLM.png
asiaExtremeCountriesWithLM.png
europeExtremeCountriesWithLM.png
continentGDPvdLifeExpwithColours.png
GDPVsLifeExp1952WithAlteredYLimit.png
GDPVsLifeExp2007.png
- Finally if required please check the R Markdown for my RPubs document
stat545a-2013-hw06_dinsdale-dan.Rmd
Example of embedding a PNG: