-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.Rnw
More file actions
102 lines (81 loc) · 3.17 KB
/
Main.Rnw
File metadata and controls
102 lines (81 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
\documentclass[12pt, lot, lof]{thesis}
% Reading Front Matter
<<frontMatter, child="frontMatter.Rnw">>=
@
% Knitr Option Control
<<setup, include=FALSE, cache=FALSE, echo=TRUE>>=
opts_chunk$set(fig.path='Include', fig.align='center')
render_listings()
setwd('~/Dropbox/UMB/Thesis/MSThesis/')
Sys.setenv(TEXINPUTS=getwd(),
BIBINPUTS=getwd(),
BSTINPUTS=getwd())
#data.path<-path.expand(file.path(dirname(dirname(getwd())), "Datasets", "CompleteDataSet.xlsx"))
data.path<-path.expand(file.path(dirname(getwd()), "Datasets", "CompleteDataSet.xlsx"))
@
\begin{document}
\makefrontmatter
% Reading Function File
<<readFun, child="Include/functions.Rnw">>=
@
% Data Preperation
<<data-prep, child="Include/DataPreperation.Rnw">>=
@
\clearpage
\pagenumbering{gobble}
%% Abbrivation and Symbols --------------------------------------------------||||
<<AbvSymb-include, child="Include/AbvSymb.Rnw", eval=TRUE>>=
@
\clearpage\pagenumbering{arabic}
%% Chapter 1 -----------------------------------------------------------------||||
<<chapter1-include, child="Include/Chapter-1.Rnw", eval=TRUE>>=
@
%% Chapter 2 -----------------------------------------------------------------||||
<<chapter2-include, child="Include/Chapter-2.Rnw", eval=TRUE>>=
@
%% Chapter 3 -----------------------------------------------------------------||||
<<chapter3-include, child="Include/Chapter-3.Rnw", eval=TRUE>>=
@
%% Chapter 4 -----------------------------------------------------------------||||
<<chapter4-include, child="Include/Chapter-4.Rnw", eval=TRUE>>=
@
%% Common Computation ------------------------------------------------------||||
<<commons, child="Include/Commons.Rnw">>=
@
%% Multiple Linear Regression with Stepwise reduction -----------------------||||
<<chapter4a-include, child="Include/Chapter-4a.Rnw", eval=TRUE>>=
@
%% Principal Component Analysis and Regression ------------------------------||||
<<chapter4b-include, child="Include/Chapter-4b.Rnw", eval=TRUE>>=
@
%% Partial Least Square Regression ------------------------------------------||||
<<chapter4c-include, child="Include/Chapter-4c.Rnw", eval=TRUE>>=
@
%% Partial Least Square Regression ------------------------------------------||||
<<chapter4d-include, child="Include/Chapter-4d.Rnw", eval=TRUE>>=
@
%% Chapter 5 -----------------------------------------------------------------||||
<<chapter5-include, child="Include/Chapter-5.Rnw", eval=TRUE>>=
@
%% Reference ----------------------------------------------------------------- |||
% Make the bibliography single spaced
\singlespacing
\printbibliography
% add the Bibliography to the Table of Contents
\cleardoublepage
\ifdefined\phantomsection
\phantomsection % makes hyperref recognize this section properly for pdf link
\else
\fi
\addcontentsline{toc}{chapter}{Bibliography}
\appendix
%% Data Description ------------------------------||||
<<appendixVarUsed, child="Include/Appendix-varUsed.Rnw", eval=TRUE>>=
@
<<pkgsUsed, child="Include/Appendix-pkgsUsed.Rnw", eval=TRUE>>=
@
<<revPlots, child="Include/Appendix-revPlots.Rnw", eval=TRUE>>=
@
<<appendixCodeUsed, child="Include/Appendix-codeUsed.Rnw", eval=TRUE>>=
@
\end{document}