-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Thanks for providing data and code together with your article! I've attempted a reproduction as part of a manuscript under development, and was partly successful, which is really great. 🎉
(and thanks for already fixing the license, #1)
Here is what I achieved and the changes I made and how far I got. I worked with the file Data Analysis and Visualization.R, as I was unsure about the differences between it and the Markdown file.
- add a few lines of code to download the data at the start
- make some educated guesses to fix non-existing objects:
X10,USA2 - make an educated guess to use file
Input-Data/usa_trt_varnames_plots_0913.csvinstead of the missingusa_trt_varnames.csv - moved CHECK MULTICOLLINEARITY code down so that
usa.trt.clis found (created later in the script - make number of runs and iterations configurable, so that I had some results with much smaller waiting time > I don't really worry about the actual results right now, just want to make sure the code runs, I'm happy to run the long analysis (parallelize it?) when the code works.
- load library
clusterso thatsilhouette()is available - added a guess where
US_tract_2010.shpcould be downloaded - try to fix deprecated ggplot2 function usage
- add a gitignore file, ignoring some R-specific stuff but also the data folders
- fixed a minor typo in the readme, replace some placeholders there, apply common Markdown formatting, fix headline formatting
You can see the changes in this comparison: master...nuest:master
Results
I have a dendogram (of course looks different because of smaller number of runs)!
I have Figure 10 (sort of) !
I have another figure that looks quite bad...
I look forward to your comments regarding the changes. It would be great if you could help resolving some of the guesses I had to make.


