特定位置的桌子

特定位置的桌子

我正在尝试将表格放在文本中的特定位置。我的导师说我可以将表格放入某种方程式中,这样它们就不再是浮点数了,但我不太清楚他的意思。例如,我的部分代码如下。

    \begin{table}[H]
\begin{center}
\caption{\label{tab:IPF1} The observed number of counts of the infant survival data}
\begin{tabular}{@{} llcc @{}}
\toprule
& & \multicolumn{2}{c}{Survival}\\ 
\cmidrule{3-4}
Clinic & Care & No & Yes  \\
\midrule
A & Less & 3& 176  \\ 
&More & 4 & 293  \\ \addlinespace
B & Less & 17 & 197 \\ 
& More & 2 & 23 \\ 
\bottomrule
\end{tabular} 

\end{center}
\end{table}


Tables \ref{marginalcountcs1} and \ref{marginalcountca1} are the marginal counts of the cliques $[CS]$ and $[CA]$ respectively.

\begin{table}
    \begin{minipage}{.5\linewidth}
      \centering
            \caption{Marginal count of clique $[CS]$}
             \label{marginalcountcs1}
            \begin{tabular}{@{} lcc @{}}
                \toprule
                & \multicolumn{2}{c}{Survival}\\ 
                Clinic  & No & Yes  \\
                \midrule
                A & 7& 469  \\ 
                B & 19 & 220 \\
                \bottomrule

            \end{tabular} 
    \end{minipage}%
    \begin{minipage}{.5\linewidth}
      \centering
        \caption{Marginal count of clique $[CA]$} 
        \label{marginalcountca1}
        \begin{tabular}{@{} lcc @{}}
                \toprule
                & \multicolumn{2}{c}{Care}\\ 
                \cmidrule{2-3}
                Clinic  & Less & More \\
                \midrule
                A & 179 & 297  \\ 
                B & 214 & 25 \\
                \bottomrule

            \end{tabular} 
    \end{minipage} 
\end{table}

Now, the first step of the algorithm is setting the ML estimates to 1 for all the cells in the contingency table. This can be seen in Table \ref{tab:IPF1}.enter code here

然而,表格最终像这样分组。 在此处输入图片描述

我尝试在 \begin{table} 后使用多个字母,例如 [h]、[ht]、[b],但是这些都没有起作用。

相关内容