I'd like to load a table and print it by using xtable library. Unfortunately this table has some conditions on the first column that are not parsed corrctely. and some "$" appear on it
here's the table
A>1;Y;N;Y;N;N;N
B>2;N;N;Y;N;N;N
C;B;A;B;B;A;A
and here's what I've tried so far
library("xtable")
T <- read.csv("table.csv", header=FALSE, sep=";", stringsAsFactors=FALSE)
xT <- print(xtable(T))
here's what I got
% latex table generated in R 3.2.2 by xtable 1.8-0 package
% Mon Dec 7 16:33:56 2015
\begin{table}[ht]
\centering
\begin{tabular}{lllllll}
\hline
\hline
A$>$1 & Y & N & Y & N & N & N \\
B$>$2 & N & N & Y & N & N & N \\
C & B & A & B & B & A & A \\
\hline
\end{tabular}
\end{table}