Displaying 2 results from an estimated 2 matches for "trend_tabl".
Did you mean:
  trend_table
  
2005 Oct 24
0
query on xtable(Sweave)
...the example
below,
Example I:
A     B     C     D
0,52  2,52  0,35  3,63
3,52  6,25  3,62  6,36
11    12    15    16
14    15    16    18
or another example(II):
A     B     C     D
11,5  12,5  10,4  13,6
3,52  6,25  12,62 16,3
11    12    15    16
14    15    16    18
The command used was ...
trend_table<-xtable(trend.table,caption="Caption",display=c('fg','fg','fg','fg'),size='small')
trend_table
The R help on xtable states that "fg" displays 'digits' as number of
_significant_ digits. As a result no decimal places are shown...
2005 Oct 25
0
query on xtable output
...mber of cases).
>
mymat<-matrix(c(c(10.52,2.52,12.35,3.63),c(3.52,16.25,13.62,6.36),c(11,12,15,16),c(14,15,16,18)),4,4,byrow=TRUE)
> mymat
      [,1]  [,2]  [,3]  [,4]
[1,] 10.52  2.52 12.35  3.63
[2,]  3.52  6.25  3.62  6.36
[3,] 11.00 12.00 15.00 16.00
[4,] 14.00 15.00 16.00 18.00
>
trend_table<-xtable(mymat,caption="Caption",display=c('s','fg','fg','fg','fg'),size='small')
The R help on xtable states that "fg" displays 'digits' as number of
_significant_ digits. As a result no decimal places are shown in the...