search for: ftblp

Displaying 1 result from an estimated 1 matches for "ftblp".

Did you mean: jtblp
2010 Jul 29
1
Different decimal places in a matrix
Hi! I have a ftable object in which some row contains integers and some other contains a percentage that I would like to show with two digits after the dot. I tried something like ftblP[index,] = as.character(round(ftblP[index, ], 2)) where the index vector contains the number of the rows containing a percentage. My workaround works but it shows all numbers aligned to left, while I prefer that number will be aligned "correctly" (to the right). It is possible? Thanks in...