Hello academia community,
I'm writing a paper in Finance on Portfolio optimization and stock returns. For this, I'm using R code to compute optimal portfolio allocation, histograms, boxplots etc.
My supervisor told me to include the R code including documentation, however I'm not sure what this means. I included all figures and tables computed by R in the appendix, but I'm not sure if I should include the R code as it is rather simple code that I wrote, most of it graphic parameters or simple formulas taken from packages (whose authors I already included). Should I attach the 800 lines of code at then end of the appendix, or should I just upload it to a website such as GitHub? My R code also takes in raw data from excel files; what should I do about those?
I can only upload pdf files to my university server when submitting the thesis for review.