-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.Rnw
91 lines (72 loc) · 2.06 KB
/
main.Rnw
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
\documentclass[titlepage]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\usepackage{lipsum}
\usepackage{amsmath}
\usepackage[margin=1in]{geometry}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{hyperref}
\usepackage{fancyhdr}
\usepackage{tikz}
\usetikzlibrary{graphs}
\usetikzlibrary{chains}
\usetikzlibrary{positioning}
\usetikzlibrary{quotes}
\numberwithin{figure}{section}
\numberwithin{table}{section}
\usepackage{booktabs}
\usepackage{tikz-network}
\pagestyle{fancy}
\fancyhead{}
\lhead{\includegraphics[scale=0.13]{images/logo.png}}
\rhead{Statistical Learning \\ 2019/2020\footnotesize}
\fancyfoot[LE,RO]{Page \thepage}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}
\date{}
\title{
\includegraphics[scale=0.3]{images/logo.png}\\
\vskip 0.5em
\Huge How to pick good wine\\
\LARGE Quality classification\\
\vskip 0.5em
}
\author{
Pedro Rio\\
\textit{MSc Data Science and Engineering}\\
\textit{Instituto Superior Técnico}\\
\textit{97241}
}
\begin{document}
<<setup, echo=FALSE, cache=FALSE >>=
library(knitr)
@
\maketitle
\cleardoublepage
\fancyfoot{}
\onecolumn
\tableofcontents
\cleardoublepage
\setcounter{page}{1}
\fancyfoot[LE,RO]{Page \thepage}
\section{Introduction}\label{sec:introduction}
<<introduction, child='introduction/introduction.Rnw'>>=
@
\section{Exploratory data analysis}\label{sec:exploratory-data-analysis}
<<exploratory_data_analysis, child='exploratory_data_analysis/exploratory_data_analysis.Rnw'>>=
@
\section{Classification and discrimination}\label{sec:classification}
<<classification_and_discrimination, child='classification_and_discrimination/classification_and_discrimination.Rnw'>>=
@
\section{Conclusion}\label{sec:conclusion}
<<conclusion, child='conclusion/conclusion.Rnw'>>=
@
\cleardoublepage~\nocite{*}
\fancyfoot{}
\bibliography{bib}
\bibliographystyle{unsrt}
\cleardoublepage
\listoffigures
\listoftables
\end{document}