search for: a_tabl

Displaying 3 results from an estimated 3 matches for "a_tabl".

Did you mean: a_table
2013 Sep 13
2
xtable use plus minus
I am using a similar dataset to the following: a= c("Fruits", "Adam","errorA", "steve", "errorS", "apples", 17.1,2.22, 3.2,1.1, "oranges", 3.1,2.55, 18.1,3.2 ) a_table=data.matrix(t(matrix(a,nrow=5))) I would like to plus minus every second column starting from errorA (using xtable/ hmisc) example output (ignoring decimals): Fruits && Adam && Steve \\ Apples && 17\pm 2 && 3 \pm 1 \\ Oranges && 3\pm 2 && 18 \p...
2004 Aug 27
3
gsub, backslash and xtable
...ble(temp2,"Percentiles for scores"), sep = "") . theTx <- paste(theTx,"\n" ,"\\end{document}","\n", sep = "") . cat(theTx) #into a file for Latex ############## with my past_xtable function being ########## paste_xtable <- function(a_table, cap) { sink(file = "levzz", append = FALSE, type = "output") print(xtable(a_table,caption=cap)) sink() #read it back temp <- readLines("levzz", n=-1) #note / get doubled automaticaly unlink("levzz") #delete file a <- "\n" for (i in 1:length...
2013 Sep 10
0
xtable Highlight the lowest and plus minus
I am using a similar dataset to the following: a= c("Fruits", "Adam","errorA", "steve", "errorS", "apples", 17.1,2.22, 3.2,1.1, "oranges", 3.1,2.55, 18.1,3.2 ) a_table=data.matrix(t(matrix(a,nrow=5))) I would like to highlight the smallest value in the Adam and Steve columns and, also plus and minus the errors *(using xtable/ hmisc)* example output (ignoring decimals): Fruits && Adam && Steve \\ Apples && 17\pm 2 && \mathbf{3...