## How to do tables in Latex

Here reported the code for a simple table in $latex \LaTeX$:

\begin{table}[h]
\begin{center}
\begin{tabular}{|c|c|c|}
\hline Rows  &amp;amp;amp; Columns 1 &amp;amp;amp;amp; Column 2} \\
\hline Row 1 &amp;amp;amp;amp; Value 1,1 &amp;amp;amp;amp; Value 2,1 \\
\hline Row 2 &amp;amp;amp;amp; Value 1,2 &amp;amp;amp;amp; Value 2,2 \\
\hline Row 3 &amp;amp;amp;amp; Value 1,3 &amp;amp;amp;amp; Value 2,3 \\
\hline Row 4 &amp;amp;amp;amp; Value 1,4 &amp;amp;amp;amp; Value 2,4 \\ \hline
\end{tabular}
\caption[Short title for contains]{Description of table content}
\label{label_of_choice}
\end{center}
\end{table}


We the command \begin{tabular} we position the table within the the float environment table at which we add the position between [] (h, t, b, etc).

Continue reading “How to do tables in Latex”

## bar-plots using ggplot2

The package ggplot2 is one of the most powerful resource for plot making available in R.

Although, it has with quite a learning curve, that could be intimidating, it is definitely worth the effort.

In here I want to show a couple of the first bar plot I ever made with the ggplot2 package: