Hello,
I am generating a series of tables as part of a "for loop". However, sometimes one of the tables goes into the "footer space" (see attached .png image). This is part of my code:
<<historiesOmitsAndOutliers,echo=FALSE,results='asis'>>=
for (i in 1:length(histories)) {
cat("\\FloatBarrier")
thisTable <- histories[]
print(xtable(thisTable,digits=c(rep(0,4),2,2,0,-2,0),caption=paste0("tableCaption"),
label=paste0("tab:history",i)),
caption.placement="top",include.rownames=FALSE,size="scriptsize",table.placement="!ht",
tabular.environment="longtable",floating=FALSE,
sanitize.text.function=function(x) {gsub("_","\\_",x,fixed=TRUE)})
cat("\\FloatBarrier")
}
@
Any suggestions?
Thank you,
Ramiro
Graphics, Figures & Tables ⇒ print.xtable going off page
-
- Posts: 1
- Joined: Wed Jan 23, 2019 7:19 am
print.xtable going off page
This error is very much common in Windows 7 and I have faced this issue for a few times and this error is mainly categorized under the Windows update error code 8007000e and it can easily be solved by just updating the Windows properly and reinstalling the printer.
- Stefan Kottwitz
- Site Admin
- Posts: 10311
- Joined: Mon Mar 10, 2008 9:44 pm
print.xtable going off page
Hello Ramiro,
welcome to the forum!
This is not standard LaTeX. Could you perhaps post code that we can run and test? Thanks!
Btw. it seems that the attached image is missing.
Stefan
welcome to the forum!
This is not standard LaTeX. Could you perhaps post code that we can run and test? Thanks!
Btw. it seems that the attached image is missing.
Stefan
LaTeX.org admin
print.xtable going off page
I am attaching the image again here below, hope it works. I am not using windows but rather linux, and using the R programming language. Let me see if I can make a short reproducible example, in the meantime, let me know if you have any other suggestions about how NOT to have a latex table not go off the page...
[img] [/img]
[img] [/img]
- Stefan Kottwitz
- Site Admin
- Posts: 10311
- Joined: Mon Mar 10, 2008 9:44 pm
print.xtable going off page
Hi Ramiro,
as R generates LaTeX code, you could post this LaTeX code here, perhaps we get a reproducible example that way.
Stefan
as R generates LaTeX code, you could post this LaTeX code here, perhaps we get a reproducible example that way.
Stefan
LaTeX.org admin
print.xtable going off page
Thank you Stefan, I worked on this and tried to shrink it as much as possible, but it's still a bit long, I am pasting the latex below. Thank you very much for any suggestions.
\documentclass{article}\usepackage[]{graphicx}\usepackage[]{color}
%% maxwidth is the original width if it is less than linewidth
%% otherwise use linewidth (to make sure the graphics do not exceed the margin)
\makeatletter
\def\maxwidth{ %
\ifdim\Gin@nat@width>\linewidth
\linewidth
\else
\Gin@nat@width
\fi
}
\makeatother
\definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345}
\newcommand{\hlnum}[1]{\textcolor[rgb]{0.686,0.059,0.569}{#1}}%
\newcommand{\hlstr}[1]{\textcolor[rgb]{0.192,0.494,0.8}{#1}}%
\newcommand{\hlcom}[1]{\textcolor[rgb]{0.678,0.584,0.686}{\textit{#1}}}%
\newcommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{#1}}%
\newcommand{\hlstd}[1]{\textcolor[rgb]{0.345,0.345,0.345}{#1}}%
\newcommand{\hlkwa}[1]{\textcolor[rgb]{0.161,0.373,0.58}{\textbf{#1}}}%
\newcommand{\hlkwb}[1]{\textcolor[rgb]{0.69,0.353,0.396}{#1}}%
\newcommand{\hlkwc}[1]{\textcolor[rgb]{0.333,0.667,0.333}{#1}}%
\newcommand{\hlkwd}[1]{\textcolor[rgb]{0.737,0.353,0.396}{\textbf{#1}}}%
\let\hlipl\hlkwb
\definecolor{shadecolor}{rgb}{.97, .97, .97}
\definecolor{messagecolor}{rgb}{0, 0, 0}
\definecolor{warningcolor}{rgb}{1, 0, 1}
\definecolor{errorcolor}{rgb}{1, 0, 0}
\newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX
\usepackage{alltt}
\usepackage[sc]{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{verbose,tmargin=2.5cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.5cm,includefoot,footskip=30pt}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\usepackage{url}
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=2,
breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\hypersetup{
pdfstartview={XYZ null null 1}}
\usepackage{breakurl}
\usepackage{myColorKnitr}
\setlength{\topmargin}{-2cm}\setlength{\textheight}{9.5in}
\usepackage{rotating}
\usepackage{placeins}
\usepackage[x11names,svgnames]{xcolor}
\usepackage{fancyhdr}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{makecell}
\usepackage{colortbl, xcolor}
\usepackage{booktabs}
\renewcommand{\rothead}[2][90]{\makebox[7mm][c]{\rotatebox{#1}{\makecell[c]{#2}}}}%
\newlength\replength
\newcommand\repfrac{.40}% PERCENT OF REPETITION USED BY DASH
\newcommand\dashfrac[1]{\renewcommand\repfrac{#1}}% MACRO TO ALTER \repfrac
\setlength\replength{8.5pt}% REPITITION LENGTH
\newcommand\rulewidth{.6pt}% DASH WIDTH
\def\dashht{.5\dimexpr\ht\strutbox-\dp\strutbox\relax}
\newcommand\tdashfill[1][\repfrac]{\cleaders\hbox to \replength{%
\smash{\rule[\dashht]{\repfrac\replength}{\rulewidth}%
\kern.5\dimexpr\replength-\repfrac\replength-2.5pt\relax%
\raisebox{\dimexpr\dashht-.3pt}{.}}}\hfill}
\newcommand\dashdotline[1]{%
\makebox[#1][l]{\tdashfill\hfil}}
\lhead{Sample Summary: Sample Summary \scriptsize{(Ref: DemoReferenceRef, Test:Ref: DemoReferenceRef)}}
\pbauthor[Xymp]{Xymp}
\renewcommand{\familydefault}{\sfdefault}
\hypersetup{pdfpagemode=UseOutlines,
bookmarksopenlevel=2,
pdftoolbar=true,
pdfwindowui=true}
\pagenumbering{arabic}
\thispagestyle{fancy}
\newcommand{\sampleAndReference}[1]{\textbf{#1}}
\newcommand*\reportTitle[1]{\begin{center}\Large\selectfont\bfseries#1\end{center}}
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\begin{document}
\FloatBarrier
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:17 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID1 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2,4) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis1}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-02 08:00:00 & DR & assayIDassayID1 & Develop 1 \\
\hline
Outlier Analysis & 2018-01-04 08:00:00 & DR & outlierIDoutlierID1 & Outlier Analysis for Assay1 \\
\: Assay Analysis & 2018-01-05 08:00:00 & DR & analysisID1 (Table \ref{tab:omitsHistory1}) & Automatically Generated Assay Analysis \\
\hline
Outlier Analysis & 2019-01-23 05:34:12 & DR & outlierIDoutlierID44 & Outlier Analysis for Assay1 \\
\: Assay Analysis & 2019-01-23 05:34:14 & DR & analysisID52 (Table \ref{tab:omitsHistory52}) & Automatically Generated Assay Analysis \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:17 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID2 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis2}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-03 08:00:00 & DR & assayIDassayID2 & Develop 2 \\
\hline
Outlier Analysis & 2018-01-05 08:00:00 & DR & outlierIDoutlierID2 & Outlier Analysis for Assay2 \\
\: Assay Analysis & 2018-01-06 08:00:00 & DR & analysisID2 (Table \ref{tab:omitsHistory2}) & Automatically Generated Assay Analysis \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID5 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis5}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-04 08:00:00 & DR & assayIDassayID3 & Develop 3 \\
\hline
Outlier Analysis & 2018-01-06 08:00:00 & DR & outlierIDoutlierID3 & Outlier Analysis for Assay3 \\
\: Assay Analysis & 2018-01-07 08:00:00 & DR & analysisID3 (Table \ref{tab:omitsHistory3}) & Automatically Generated Assay Analysis \\
\: Assay Analysis & 2018-01-07 09:00:00 & DR & analysisID4 (Table \ref{tab:omitsHistory4}) & Automatically Generated Assay Analysis(No Outliers) \\
\: Assay Analysis & 2018-01-07 10:00:00 & DR & analysisID5 (Table \ref{tab:omitsHistory5}) & Automatically Generated Assay Analysis(No Groupouts) \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID7 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis7}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-05 08:00:00 & DR & assayIDassayID4 & Develop 4 \\
\hline
Outlier Analysis & 2018-01-07 08:00:00 & DR & outlierIDoutlierID4 & Outlier Analysis for Assay4 \\
\: Assay Analysis & 2018-01-08 08:00:00 & DR & analysisID6 (Table \ref{tab:omitsHistory6}) & Automatically Generated Assay Analysis \\
\: Assay Analysis & 2018-01-08 09:00:00 & DR & analysisID7 (Table \ref{tab:omitsHistory7}) & Automatically Generated Assay Analysis(No Outliers) \\
\: Assay Analysis & 2018-01-08 10:00:00 & DR & analysisID8 (Table \ref{tab:omitsHistory8}) & Automatically Generated Assay Analysis(No Groupouts) \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID17 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis17}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-10 08:00:00 & DR & assayIDassayID9 & Develop 9 \\
\hline
Outlier Analysis & 2018-01-12 08:00:00 & DR & outlierIDoutlierID9 & Outlier Analysis for Assay9 \\
\: Assay Analysis & 2018-01-13 08:00:00 & DR & analysisID17 (Table \ref{tab:omitsHistory17}) & Automatically Generated Assay Analysis \\
\hline
\end{tabular}
\endgroup
\end{table}
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID1 (see full history in Table \ref{tab:fullAssayHistoryAssayAnalysis1}, used in sample summary(ies) summaryID - Table \ref{tab:sampleSummaryHistory}. \textcolor{Blue}{Used in current sample summary}.): Automatically Generated Assay Analysis (DR, 2018-01-05 08:00:00)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & Protocol \\
Omit & EDGE & 12 & & & & Yes & Protocol \\
\hline
\hline
\label{tab:omitsHistory1}
\end{longtable}
\endgroup
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID52 (part of full history of assay analysis analysisID1, see Table \ref{tab:fullAssayHistoryAssayAnalysis1}, never used
in a summary of this sample at this dilution with this reference and protocol): Automatically Generated Assay Analysis (DR, 2019-01-23 05:34:14)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & \\
Omit & EDGE & 12 & & & & Yes & \\
\hline
\hline
\label{tab:omitsHistory52}
\end{longtable}
\endgroup
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID2 (see full history in Table \ref{tab:fullAssayHistoryAssayAnalysis2}, used in sample summary(ies) summaryID - Table \ref{tab:sampleSummaryHistory}. \textcolor{Blue}{Used in current sample summary}.): Automatically Generated Assay Analysis (DR, 2018-01-06 08:00:00)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & Protocol \\
Omit & EDGE & 12 & & & & Yes & Protocol \\
\hline
\hline
\label{tab:omitsHistory2}
\end{longtable}
\endgroup
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID3 (part of full history of assay analysis analysisID5, see Table \ref{tab:fullAssayHistoryAssayAnalysis5}, never used
in a summary of this sample at this dilution with this reference and protocol): Automatically Generated Assay Analysis (DR, 2018-01-07 08:00:00)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & Protocol \\
Omit & EDGE & 12 & & & & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:8:C (1:11:\textcolor{SteelBlue3}{\textbf{z}}) & 0.35 & 3.17 & 1 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:5:E (1:5:\textcolor{MediumBlue}{\textbf{w}}) & 0.62 & -3.16 & 10 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:4:E (1:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.8 & 4.68 & 24 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:9:B (1:8:\textcolor{Magenta}{\textbf{v}}) & 0.49 & 2.81 & 16 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:10:D (1:9:\textcolor{Brown}{\textbf{u}}) & 0.46 & 3.19 & 11 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 2:10:E (2:4:\textcolor{OliveDrab3}{\textbf{x}}) & 1.22 & 3.22 & 15 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 2:7:B (2:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.81 & 2.78 & 20 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:2:B (3:1:\textcolor{SteelBlue3}{\textbf{z}}) & 1.26 & 3.34 & 14 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:3:B (3:2:\textcolor{SteelBlue3}{\textbf{z}}) & 1.31 & 3.47 & 13 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:10:B (3:4:\textcolor{SteelBlue3}{\textbf{z}}) & 1.28 & 3.06 & 7 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:6:G (3:5:\textcolor{MediumBlue}{\textbf{w}}) & 1.01 & 3.36 & 22 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:6:C (3:5:\textcolor{OliveDrab3}{\textbf{x}}) & 1.19 & 3.11 & 8 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:6:E (3:5:\textcolor{OrangeRed2}{\textbf{y}}) & 0.57 & -3.24 & 2 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:9:G (3:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.87 & 2.49 & 19 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:11:D (3:7:\textcolor{Brown}{\textbf{u}}) & 0.19 & -3.25 & 5 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:11:G (3:7:\textcolor{MediumBlue}{\textbf{w}}) & 0.29 & -2.84 & 18 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:3:E (4:11:\textcolor{OrangeRed2}{\textbf{y}}) & -0.34 & -3.05 & 6 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:10:D (4:2:\textcolor{Brown}{\textbf{u}}) & 0.65 & -3.17 & 4 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:10:G (4:2:\textcolor{SteelBlue3}{\textbf{z}}) & 1.26 & 3.14 & 12 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:9:C (4:5:\textcolor{MediumBlue}{\textbf{w}}) & 0.93 & 2.78 & 21 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:2:C (4:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.73 & 3.11 & 23 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:4:F (4:8:\textcolor{Magenta}{\textbf{v}}) & 0.54 & 3.22 & 3 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:4:C (4:8:\textcolor{MediumBlue}{\textbf{w}}) & -0.03 & -2.67 & 17 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:11:D (4:9:\textcolor{Brown}{\textbf{u}}) & 0.43 & 3.12 & 9 & Yes & Automatically selected \\
Groupout & Plate:Col & 3:6 & & & & & Groupout \\
Groupout & Plate:Col & 3:11 & & & & & Groupout \\
Groupout & Plate:Col & 4:4 & & & & & Groupout \\
Groupout & Plate:Col & 4:10 & & & & & Groupout \\
Groupout & Plate:Row & 3:B & & & & & Groupout \\
Groupout & Plate:Row & 3:G & & & & & Groupout \\
Groupout & Plate:Row & 4:C & & & & & Groupout \\
\hline
\hline
\label{tab:omitsHistory3}
\end{longtable}
\endgroup
\FloatBarrier
\end{document}
\documentclass{article}\usepackage[]{graphicx}\usepackage[]{color}
%% maxwidth is the original width if it is less than linewidth
%% otherwise use linewidth (to make sure the graphics do not exceed the margin)
\makeatletter
\def\maxwidth{ %
\ifdim\Gin@nat@width>\linewidth
\linewidth
\else
\Gin@nat@width
\fi
}
\makeatother
\definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345}
\newcommand{\hlnum}[1]{\textcolor[rgb]{0.686,0.059,0.569}{#1}}%
\newcommand{\hlstr}[1]{\textcolor[rgb]{0.192,0.494,0.8}{#1}}%
\newcommand{\hlcom}[1]{\textcolor[rgb]{0.678,0.584,0.686}{\textit{#1}}}%
\newcommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{#1}}%
\newcommand{\hlstd}[1]{\textcolor[rgb]{0.345,0.345,0.345}{#1}}%
\newcommand{\hlkwa}[1]{\textcolor[rgb]{0.161,0.373,0.58}{\textbf{#1}}}%
\newcommand{\hlkwb}[1]{\textcolor[rgb]{0.69,0.353,0.396}{#1}}%
\newcommand{\hlkwc}[1]{\textcolor[rgb]{0.333,0.667,0.333}{#1}}%
\newcommand{\hlkwd}[1]{\textcolor[rgb]{0.737,0.353,0.396}{\textbf{#1}}}%
\let\hlipl\hlkwb
\definecolor{shadecolor}{rgb}{.97, .97, .97}
\definecolor{messagecolor}{rgb}{0, 0, 0}
\definecolor{warningcolor}{rgb}{1, 0, 1}
\definecolor{errorcolor}{rgb}{1, 0, 0}
\newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX
\usepackage{alltt}
\usepackage[sc]{mathpazo}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{verbose,tmargin=2.5cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2.5cm,includefoot,footskip=30pt}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\usepackage{url}
\usepackage[unicode=true,pdfusetitle,
bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=2,
breaklinks=false,pdfborder={0 0 1},backref=false,colorlinks=false]
{hyperref}
\hypersetup{
pdfstartview={XYZ null null 1}}
\usepackage{breakurl}
\usepackage{myColorKnitr}
\setlength{\topmargin}{-2cm}\setlength{\textheight}{9.5in}
\usepackage{rotating}
\usepackage{placeins}
\usepackage[x11names,svgnames]{xcolor}
\usepackage{fancyhdr}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{makecell}
\usepackage{colortbl, xcolor}
\usepackage{booktabs}
\renewcommand{\rothead}[2][90]{\makebox[7mm][c]{\rotatebox{#1}{\makecell[c]{#2}}}}%
\newlength\replength
\newcommand\repfrac{.40}% PERCENT OF REPETITION USED BY DASH
\newcommand\dashfrac[1]{\renewcommand\repfrac{#1}}% MACRO TO ALTER \repfrac
\setlength\replength{8.5pt}% REPITITION LENGTH
\newcommand\rulewidth{.6pt}% DASH WIDTH
\def\dashht{.5\dimexpr\ht\strutbox-\dp\strutbox\relax}
\newcommand\tdashfill[1][\repfrac]{\cleaders\hbox to \replength{%
\smash{\rule[\dashht]{\repfrac\replength}{\rulewidth}%
\kern.5\dimexpr\replength-\repfrac\replength-2.5pt\relax%
\raisebox{\dimexpr\dashht-.3pt}{.}}}\hfill}
\newcommand\dashdotline[1]{%
\makebox[#1][l]{\tdashfill\hfil}}
\lhead{Sample Summary: Sample Summary \scriptsize{(Ref: DemoReferenceRef, Test:Ref: DemoReferenceRef)}}
\pbauthor[Xymp]{Xymp}
\renewcommand{\familydefault}{\sfdefault}
\hypersetup{pdfpagemode=UseOutlines,
bookmarksopenlevel=2,
pdftoolbar=true,
pdfwindowui=true}
\pagenumbering{arabic}
\thispagestyle{fancy}
\newcommand{\sampleAndReference}[1]{\textbf{#1}}
\newcommand*\reportTitle[1]{\begin{center}\Large\selectfont\bfseries#1\end{center}}
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\begin{document}
\FloatBarrier
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:17 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID1 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2,4) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis1}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-02 08:00:00 & DR & assayIDassayID1 & Develop 1 \\
\hline
Outlier Analysis & 2018-01-04 08:00:00 & DR & outlierIDoutlierID1 & Outlier Analysis for Assay1 \\
\: Assay Analysis & 2018-01-05 08:00:00 & DR & analysisID1 (Table \ref{tab:omitsHistory1}) & Automatically Generated Assay Analysis \\
\hline
Outlier Analysis & 2019-01-23 05:34:12 & DR & outlierIDoutlierID44 & Outlier Analysis for Assay1 \\
\: Assay Analysis & 2019-01-23 05:34:14 & DR & analysisID52 (Table \ref{tab:omitsHistory52}) & Automatically Generated Assay Analysis \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:17 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID2 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis2}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-03 08:00:00 & DR & assayIDassayID2 & Develop 2 \\
\hline
Outlier Analysis & 2018-01-05 08:00:00 & DR & outlierIDoutlierID2 & Outlier Analysis for Assay2 \\
\: Assay Analysis & 2018-01-06 08:00:00 & DR & analysisID2 (Table \ref{tab:omitsHistory2}) & Automatically Generated Assay Analysis \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID5 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis5}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-04 08:00:00 & DR & assayIDassayID3 & Develop 3 \\
\hline
Outlier Analysis & 2018-01-06 08:00:00 & DR & outlierIDoutlierID3 & Outlier Analysis for Assay3 \\
\: Assay Analysis & 2018-01-07 08:00:00 & DR & analysisID3 (Table \ref{tab:omitsHistory3}) & Automatically Generated Assay Analysis \\
\: Assay Analysis & 2018-01-07 09:00:00 & DR & analysisID4 (Table \ref{tab:omitsHistory4}) & Automatically Generated Assay Analysis(No Outliers) \\
\: Assay Analysis & 2018-01-07 10:00:00 & DR & analysisID5 (Table \ref{tab:omitsHistory5}) & Automatically Generated Assay Analysis(No Groupouts) \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID7 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis7}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-05 08:00:00 & DR & assayIDassayID4 & Develop 4 \\
\hline
Outlier Analysis & 2018-01-07 08:00:00 & DR & outlierIDoutlierID4 & Outlier Analysis for Assay4 \\
\: Assay Analysis & 2018-01-08 08:00:00 & DR & analysisID6 (Table \ref{tab:omitsHistory6}) & Automatically Generated Assay Analysis \\
\: Assay Analysis & 2018-01-08 09:00:00 & DR & analysisID7 (Table \ref{tab:omitsHistory7}) & Automatically Generated Assay Analysis(No Outliers) \\
\: Assay Analysis & 2018-01-08 10:00:00 & DR & analysisID8 (Table \ref{tab:omitsHistory8}) & Automatically Generated Assay Analysis(No Groupouts) \\
\hline
\end{tabular}
\endgroup
\end{table}
% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begin{table}[!htbp]
\centering
\caption{Full history Assay Analysis analysisID17 (used in \textcolor{Blue}{current sample summary (summaryID4}), (Table \ref{tab:sampleSummaryHistory}):
This includes the assay setup (line one), the outlier analyses (lines 2) and each analyses. Analyses are grouped below (and indented) to indicate which outlier analysis they follow.
All analyses use the same reference.
Each row has an event, date, analysis and description column, and the ID column which has the ID of the assay setup,
the outlier analysis or the assay analysis (which also include the table number that shows which outliers were detected
and selected).}
\label{tab:fullAssayHistoryAssayAnalysis17}
\begingroup\scriptsize
\begin{tabular}{lllll}
Event & Date & Analyst & ID & Description \\
\hline
Assay Setup & 2018-01-10 08:00:00 & DR & assayIDassayID9 & Develop 9 \\
\hline
Outlier Analysis & 2018-01-12 08:00:00 & DR & outlierIDoutlierID9 & Outlier Analysis for Assay9 \\
\: Assay Analysis & 2018-01-13 08:00:00 & DR & analysisID17 (Table \ref{tab:omitsHistory17}) & Automatically Generated Assay Analysis \\
\hline
\end{tabular}
\endgroup
\end{table}
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID1 (see full history in Table \ref{tab:fullAssayHistoryAssayAnalysis1}, used in sample summary(ies) summaryID - Table \ref{tab:sampleSummaryHistory}. \textcolor{Blue}{Used in current sample summary}.): Automatically Generated Assay Analysis (DR, 2018-01-05 08:00:00)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & Protocol \\
Omit & EDGE & 12 & & & & Yes & Protocol \\
\hline
\hline
\label{tab:omitsHistory1}
\end{longtable}
\endgroup
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID52 (part of full history of assay analysis analysisID1, see Table \ref{tab:fullAssayHistoryAssayAnalysis1}, never used
in a summary of this sample at this dilution with this reference and protocol): Automatically Generated Assay Analysis (DR, 2019-01-23 05:34:14)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & \\
Omit & EDGE & 12 & & & & Yes & \\
\hline
\hline
\label{tab:omitsHistory52}
\end{longtable}
\endgroup
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID2 (see full history in Table \ref{tab:fullAssayHistoryAssayAnalysis2}, used in sample summary(ies) summaryID - Table \ref{tab:sampleSummaryHistory}. \textcolor{Blue}{Used in current sample summary}.): Automatically Generated Assay Analysis (DR, 2018-01-06 08:00:00)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & Protocol \\
Omit & EDGE & 12 & & & & Yes & Protocol \\
\hline
\hline
\label{tab:omitsHistory2}
\end{longtable}
\endgroup
\FloatBarrier
\FloatBarrier% latex table generated in R 3.5.2 by xtable 1.8-3 package
% Thu Jan 24 15:17:18 2019
\begingroup\scriptsize
\begin{longtable}{llllllll}
\caption{Omits and Outliers History for Assay Analysis analysisID3 (part of full history of assay analysis analysisID5, see Table \ref{tab:fullAssayHistoryAssayAnalysis5}, never used
in a summary of this sample at this dilution with this reference and protocol): Automatically Generated Assay Analysis (DR, 2018-01-07 08:00:00)} \\
\hline
Type & Unit & Location & Response & Residual & Iteration & Selected & Reason \\
\hline
Omit & EDGE & 1 & & & & Yes & Protocol \\
Omit & EDGE & 12 & & & & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:8:C (1:11:\textcolor{SteelBlue3}{\textbf{z}}) & 0.35 & 3.17 & 1 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:5:E (1:5:\textcolor{MediumBlue}{\textbf{w}}) & 0.62 & -3.16 & 10 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:4:E (1:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.8 & 4.68 & 24 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:9:B (1:8:\textcolor{Magenta}{\textbf{v}}) & 0.49 & 2.81 & 16 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 1:10:D (1:9:\textcolor{Brown}{\textbf{u}}) & 0.46 & 3.19 & 11 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 2:10:E (2:4:\textcolor{OliveDrab3}{\textbf{x}}) & 1.22 & 3.22 & 15 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 2:7:B (2:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.81 & 2.78 & 20 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:2:B (3:1:\textcolor{SteelBlue3}{\textbf{z}}) & 1.26 & 3.34 & 14 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:3:B (3:2:\textcolor{SteelBlue3}{\textbf{z}}) & 1.31 & 3.47 & 13 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:10:B (3:4:\textcolor{SteelBlue3}{\textbf{z}}) & 1.28 & 3.06 & 7 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:6:G (3:5:\textcolor{MediumBlue}{\textbf{w}}) & 1.01 & 3.36 & 22 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:6:C (3:5:\textcolor{OliveDrab3}{\textbf{x}}) & 1.19 & 3.11 & 8 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:6:E (3:5:\textcolor{OrangeRed2}{\textbf{y}}) & 0.57 & -3.24 & 2 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:9:G (3:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.87 & 2.49 & 19 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:11:D (3:7:\textcolor{Brown}{\textbf{u}}) & 0.19 & -3.25 & 5 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 3:11:G (3:7:\textcolor{MediumBlue}{\textbf{w}}) & 0.29 & -2.84 & 18 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:3:E (4:11:\textcolor{OrangeRed2}{\textbf{y}}) & -0.34 & -3.05 & 6 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:10:D (4:2:\textcolor{Brown}{\textbf{u}}) & 0.65 & -3.17 & 4 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:10:G (4:2:\textcolor{SteelBlue3}{\textbf{z}}) & 1.26 & 3.14 & 12 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:9:C (4:5:\textcolor{MediumBlue}{\textbf{w}}) & 0.93 & 2.78 & 21 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:2:C (4:6:\textcolor{MediumBlue}{\textbf{w}}) & 0.73 & 3.11 & 23 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:4:F (4:8:\textcolor{Magenta}{\textbf{v}}) & 0.54 & 3.22 & 3 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:4:C (4:8:\textcolor{MediumBlue}{\textbf{w}}) & -0.03 & -2.67 & 17 & Yes & Automatically selected \\
Outlier & Plate:Col:Row (Plate:Dil:Samp) & 4:11:D (4:9:\textcolor{Brown}{\textbf{u}}) & 0.43 & 3.12 & 9 & Yes & Automatically selected \\
Groupout & Plate:Col & 3:6 & & & & & Groupout \\
Groupout & Plate:Col & 3:11 & & & & & Groupout \\
Groupout & Plate:Col & 4:4 & & & & & Groupout \\
Groupout & Plate:Col & 4:10 & & & & & Groupout \\
Groupout & Plate:Row & 3:B & & & & & Groupout \\
Groupout & Plate:Row & 3:G & & & & & Groupout \\
Groupout & Plate:Row & 4:C & & & & & Groupout \\
\hline
\hline
\label{tab:omitsHistory3}
\end{longtable}
\endgroup
\FloatBarrier
\end{document}