Another alternative is to use stacks, I show your table twice to show the variety possible. In the first table, the stacks are top aligned (\Longunderstack
s) whereas in the 2nd table they are vertically centered (\Centerstack
s). In the 1st table, they are centered horizontally, whereas they are left aligned in the 2nd table.
The two "set up" lines are needed before entering tabular
, namely \edef\tmp{\the\baselineskip}\setstackgap{L}{\tmp}
when using stacks in tabular
, because tabular
redefines \baselineskip
, which is the default inter-baseline spacing for long stacks.
\documentclass{article}
\usepackage[usestackEOL]{stackengine}
\edef\tmp{\the\baselineskip}
\setstackgap{L}{\tmp}
\begin{document}
\begin{table}[h!]
\caption{Multirow table}
\begin{center}
\begin{tabular}{ |c|c|c| }
\hline
Observation(Species name) & \Longunderstack{Likelihood\\
(Limnodynastes peronii\\ Distribution Model)} &
\Longunderstack{Likelihood\\ (Rhinella marina \\Distribution Model)}\\
\hline
Observation 1 (Limnodynastes peronii) &0.0712 &0.2699\\
\hline
Observation 2 (Rhinella marina) &0.30 &0.013 \\
\hline
\end{tabular}
\leavevmode\bigskip\\
\begin{tabular}{ |c|c|c| }
\hline
Observation(Species name) & \Centerstack[l]{Likelihood\\
(Limnodynastes peronii\\ Distribution Model)} &
\Centerstack[l]{Likelihood\\ (Rhinella marina \\Distribution Model)}\\
\hline
Observation 1 (Limnodynastes peronii) &0.0712 &0.2699\\
\hline
Observation 2 (Rhinella marina) &0.30 &0.013 \\
\hline
\end{tabular}
\end{center}
\end{table}
\end{document}
