mytable: Produce table for descriptive statistics

Description Usage Arguments Methods (by class) Examples

View source: R/mytable.R

Description

Produce table for descriptive statistics by groups for several variables easily. Depending on the nature of these variables, different descriptive statistical methods were used(t-test, ANOVA,Kruskal-Wallis, chisq, Fisher,...)

Usage

1
2
3
4
5
6
7
mytable(x, ...)

## S3 method for class 'formula'
mytable(x, ...)

## S3 method for class 'data.frame'
mytable(x, ...)

Arguments

x

An R object, formula or data.frame

...

arguments to be passed to mytable_sub

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
mytable(acs)
mytable(~age+sex,data=acs)
mytable(Dx~age+sex+height+weight+TC+TG+HDLC,data=acs,method=3,digits=2)
mytable(am+cyl~.,data=mtcars)
out=mytable(sex~.,data=acs)
out
summary(out)
## Not run: 
require(ztable)
ztable(out)

## End(Not run)
mytable(acs)

Example output

         Descriptive Statistics        
---------------------------------------- 
                        N      Total    
---------------------------------------- 
 age                  857  63.3 ± 11.7 
 sex                  857               
   - Female                287  (33.5%) 
   - Male                  570  (66.5%) 
 cardiogenicShock     857               
   - No                    805  (93.9%) 
   - Yes                     52  (6.1%) 
 entry                857               
   - Femoral               312  (36.4%) 
   - Radial                545  (63.6%) 
 Dx                   857               
   - NSTEMI                153  (17.9%) 
   - STEMI                 304  (35.5%) 
   - Unstable Angina       400  (46.7%) 
 EF                   723   55.8 ± 9.6 
 height               764  163.2 ± 9.1 
 weight               766  64.8 ± 11.4 
 BMI                  764   24.3 ± 3.3 
 obesity              857               
   - No                    567  (66.2%) 
   - Yes                   290  (33.8%) 
 TC                   834 185.2 ± 47.8 
 LDLC                 833 116.6 ± 41.1 
 HDLC                 834  38.2 ± 11.1 
 TG                   842 125.2 ± 90.9 
 DM                   857               
   - No                    553  (64.5%) 
   - Yes                   304  (35.5%) 
 HBP                  857               
   - No                    356  (41.5%) 
   - Yes                   501  (58.5%) 
 smoking              857               
   - Ex-smoker             204  (23.8%) 
   - Never                 332  (38.7%) 
   - Smoker                321  (37.5%) 
---------------------------------------- 

    Descriptive Statistics    
------------------------------- 
               N      Total    
------------------------------- 
 age         857  63.3 ± 11.7 
 sex         857               
   - Female       287  (33.5%) 
   - Male         570  (66.5%) 
------------------------------- 

                            Descriptive Statistics by 'Dx'                           
______________________________________________________________________________________ 
                    NSTEMI                 STEMI             Unstable Angina       p  
                   (N=153)                (N=304)                (N=400)        
-------------------------------------------------------------------------------------- 
 age         65.00 [55.00;75.00]    62.00 [53.00;71.00]    65.00 [56.00;72.00]   0.109
 sex                                                                             0.012
   - Female      50 (32.68%)            84 (27.63%)            153 (38.25%)           
   - Male        103 (67.32%)           220 (72.37%)           247 (61.75%)           
 height     165.00 [158.00;169.00] 165.00 [160.00;170.00] 163.00 [155.00;169.00] 0.000
 weight      65.00 [58.00;71.00]    65.00 [58.00;73.00]    63.00 [57.00;72.00]   0.345
 TC         189.50 [164.00;220.50] 181.00 [155.00;212.00] 181.50 [152.00;209.50] 0.073
 TG         110.00 [74.00;158.00]   90.00 [61.00;132.00]  115.00 [75.00;166.00]  0.000
 HDLC        37.50 [33.00;46.00]    38.00 [32.00;45.00]    37.00 [31.00;44.00]   0.364
-------------------------------------------------------------------------------------- 

                      Descriptive Statistics stratified by 'am' and 'cyl'                     
_______________________________________________________________________________________________ 
                             1                                             0                      
       ------------------------------------------- -------------------------------------------- 
            4           6            8         p        4            6            8         p  
          (N=8)       (N=3)        (N=2)             (N=3)        (N=4)        (N=12)        
----------------------------------------------------------------------------------------------- 
 mpg   28.1 ±  4.5 20.6 ±  0.8  15.4 ±  0.6  0.001 22.9 ±  1.5  19.1 ±  1.6  15.1 ±  2.8  0.000
 disp  93.6 ± 20.5 155.0 ±  8.7 326.0 ± 35.4 0.000 135.9 ± 14.0 204.6 ± 44.7 357.6 ± 71.8 0.000
 hp    81.9 ± 22.7 131.7 ± 37.5 299.5 ± 50.2 0.000 84.7 ± 19.7  115.2 ±  9.2 194.2 ± 33.4 0.000
 drat   4.2 ±  0.4  3.8 ±  0.2   3.9 ±  0.5  0.158  3.8 ±  0.1   3.4 ±  0.6   3.1 ±  0.2  0.004
 wt     2.0 ±  0.4  2.8 ±  0.1   3.4 ±  0.3  0.000  2.9 ±  0.4   3.4 ±  0.1   4.1 ±  0.8  0.006
 qsec  18.4 ±  1.1 16.3 ±  0.8  14.6 ±  0.1  0.000 21.0 ±  1.7  19.2 ±  0.8  17.1 ±  0.8  0.000
 vs                                          0.009                                        0.000
   - 0  1 (12.5%)   3 (100.0%)   2 (100.0%)          0 ( 0.0%)    0 ( 0.0%)  12 (100.0%)       
   - 1  7 (87.5%)    0 ( 0.0%)    0 ( 0.0%)         3 (100.0%)   4 (100.0%)    0 ( 0.0%)       
 gear                                                                                          
   - 3  0 ( 0.0%)    0 ( 0.0%)    0 ( 0.0%)         1 (33.3%)    2 (50.0%)   12 (100.0%)       
   - 4  6 (75.0%)   2 (66.7%)     0 ( 0.0%)         2 (66.7%)    2 (50.0%)     0 ( 0.0%)       
   - 5  2 (25.0%)   1 (33.3%)    2 (100.0%)          0 ( 0.0%)    0 ( 0.0%)    0 ( 0.0%)       
 carb                                                                                          
   - 1  4 (50.0%)    0 ( 0.0%)    0 ( 0.0%)         1 (33.3%)    2 (50.0%)     0 ( 0.0%)       
   - 2  4 (50.0%)    0 ( 0.0%)    0 ( 0.0%)         2 (66.7%)     0 ( 0.0%)   4 (33.3%)        
   - 3  0 ( 0.0%)    0 ( 0.0%)    0 ( 0.0%)          0 ( 0.0%)    0 ( 0.0%)   3 (25.0%)        
   - 4  0 ( 0.0%)   2 (66.7%)    1 (50.0%)           0 ( 0.0%)   2 (50.0%)    5 (41.7%)        
   - 6  0 ( 0.0%)   1 (33.3%)     0 ( 0.0%)          0 ( 0.0%)    0 ( 0.0%)    0 ( 0.0%)       
   - 8  0 ( 0.0%)    0 ( 0.0%)   1 (50.0%)           0 ( 0.0%)    0 ( 0.0%)    0 ( 0.0%)       
----------------------------------------------------------------------------------------------- 

          Descriptive Statistics by 'sex'          
____________________________________________________ 
                        Female        Male       p  
                       (N=287)      (N=570)   
---------------------------------------------------- 
 age                 68.7 ± 10.7  60.6 ± 11.2  0.000
 cardiogenicShock                              0.136
   - No              275 (95.8%)  530 (93.0%)       
   - Yes              12 ( 4.2%)   40 ( 7.0%)       
 entry                                         0.035
   - Femoral         119 (41.5%)  193 (33.9%)       
   - Radial          168 (58.5%)  377 (66.1%)       
 Dx                                            0.012
   - NSTEMI           50 (17.4%)  103 (18.1%)       
   - STEMI            84 (29.3%)  220 (38.6%)       
   - Unstable Angina 153 (53.3%)  247 (43.3%)       
 EF                  56.3 ± 10.1  55.6 ±  9.4  0.387
 height              153.8 ±  6.2 167.9 ±  6.1 0.000
 weight              57.2 ±  9.3  68.7 ± 10.3  0.000
 BMI                 24.2 ±  3.6  24.3 ±  3.2  0.611
 obesity                                       0.580
   - No              194 (67.6%)  373 (65.4%)       
   - Yes              93 (32.4%)  197 (34.6%)       
 TC                  188.9 ± 51.1 183.3 ± 45.9 0.124
 LDLC                117.8 ± 41.2 116.0 ± 41.1 0.561
 HDLC                39.0 ± 11.5  37.8 ± 10.9  0.145
 TG                  119.9 ± 76.2 127.9 ± 97.3 0.195
 DM                                            0.077
   - No              173 (60.3%)  380 (66.7%)       
   - Yes             114 (39.7%)  190 (33.3%)       
 HBP                                           0.000
   - No               83 (28.9%)  273 (47.9%)       
   - Yes             204 (71.1%)  297 (52.1%)       
 smoking                                       0.000
   - Ex-smoker        49 (17.1%)  155 (27.2%)       
   - Never           209 (72.8%)  123 (21.6%)       
   - Smoker           29 (10.1%)  292 (51.2%)       
---------------------------------------------------- 

                                                            Descriptive Statistics by 'sex'                                                           
_______________________________________________________________________________________________________________________________________________________ 
                        Female        Male       p   sig  p1    p2    p3      class                               ptest                              N 
                       (N=287)      (N=570)   
------------------------------------------------------------------------------------------------------------------------------------------------------- 
 age                 68.7 ± 10.7  60.6 ± 11.2  0.000 *** 0.001 0.000 0.000 continuous                             normal                            857
 cardiogenicShock                              0.136     0.136       2.000 categorical Pearson's Chi-squared test with Yates' continuity correction 857
   - No              275 (95.8%)  530 (93.0%)                                                                                                          
   - Yes              12 ( 4.2%)   40 ( 7.0%)                                                                                                          
 entry                                         0.035 **  0.035       2.000 categorical Pearson's Chi-squared test with Yates' continuity correction 857
   - Femoral         119 (41.5%)  193 (33.9%)                                                                                                          
   - Radial          168 (58.5%)  377 (66.1%)                                                                                                          
 Dx                                            0.012 **  0.012       3.000 categorical                  Pearson's Chi-squared test                  857
   - NSTEMI           50 (17.4%)  103 (18.1%)                                                                                                          
   - STEMI            84 (29.3%)  220 (38.6%)                                                                                                          
   - Unstable Angina 153 (53.3%)  247 (43.3%)                                                                                                          
 EF                  56.3 ± 10.1  55.6 ±  9.4  0.387     0.000 0.387 0.053 continuous                             normal                            723
 height              153.8 ±  6.2 167.9 ±  6.1 0.000 *** 0.000 0.000 0.000 continuous                             normal                            764
 weight              57.2 ±  9.3  68.7 ± 10.3  0.000 *** 0.000 0.000 0.000 continuous                             normal                            766
 BMI                 24.2 ±  3.6  24.3 ±  3.2  0.611     0.000 0.611 0.471 continuous                             normal                            764
 obesity                                       0.580     0.580       2.000 categorical Pearson's Chi-squared test with Yates' continuity correction 857
   - No              194 (67.6%)  373 (65.4%)                                                                                                          
   - Yes              93 (32.4%)  197 (34.6%)                                                                                                          
 TC                  188.9 ± 51.1 183.3 ± 45.9 0.124     0.000 0.124 0.145 continuous                             normal                            834
 LDLC                117.8 ± 41.2 116.0 ± 41.1 0.561     0.000 0.561 0.466 continuous                             normal                            833
 HDLC                39.0 ± 11.5  37.8 ± 10.9  0.145     0.000 0.145 0.011 continuous                             normal                            834
 TG                  119.9 ± 76.2 127.9 ± 97.3 0.195     0.000 0.195 0.804 continuous                             normal                            842
 DM                                            0.077 *   0.077       2.000 categorical Pearson's Chi-squared test with Yates' continuity correction 857
   - No              173 (60.3%)  380 (66.7%)                                                                                                          
   - Yes             114 (39.7%)  190 (33.3%)                                                                                                          
 HBP                                           0.000 *** 0.000       2.000 categorical Pearson's Chi-squared test with Yates' continuity correction 857
   - No               83 (28.9%)  273 (47.9%)                                                                                                          
   - Yes             204 (71.1%)  297 (52.1%)                                                                                                          
 smoking                                       0.000 *** 0.000       3.000 categorical                  Pearson's Chi-squared test                  857
   - Ex-smoker        49 (17.1%)  155 (27.2%)                                                                                                          
   - Never           209 (72.8%)  123 (21.6%)                                                                                                          
   - Smoker           29 (10.1%)  292 (51.2%)                                                                                                          
------------------------------------------------------------------------------------------------------------------------------------------------------- 
Loading required package: ztable
Welcome to package ztable ver 0.2.2
<head><style>
        table {
              font-family: times ;
color:  black ;
text-align: right;}
        th {
              padding: 1px 1px 5px 5px;
	        }
        td {
             padding: 1px 1px 5px 5px; }
      </style></head><table align="center" style="border-collapse: collapse; caption-side:top; font-size:11pt;"><caption style="text-align:center;"></caption><tr>
<th <th align="center" style="font-weight: normal;border-left: 0px solid black;border-bottom: hidden;border-top: 2px solid gray;"></th>
<th <th align="center" style="font-weight: normal;border-left: 0px solid black;border-bottom: hidden;border-top: 2px solid gray;">Female</th>
<th <th align="center" style="font-weight: normal;border-left: 0px solid black;border-bottom: hidden;border-top: 2px solid gray;">Male</th>
<th <th rowspan="2" align="center" style="font-weight: normal;border-left: 0px solid black;border-right:0px solid black;border-bottom: 1px solid gray;border-top: 2px solid gray;">p</th>
</tr>
<tr>
<th align="center" style="font-weight: normal;border-left: 0px solid black;border-bottom: 1px solid gray;"></th>
<th align="center" style="font-weight: normal;border-left: 0px solid black;border-bottom: 1px solid gray;">(N=287)</th>
<th align="center" style="font-weight: normal;border-left: 0px solid black;border-bottom: 1px solid gray;">(N=570)</th>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;">age </td>
<td align="left" style="border-left: 0px solid black;">68.7 ± 10.7</td>
<td align="center" style="border-left: 0px solid black;">60.6 ± 11.2</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;">< 0.001</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">cardiogenicShock   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.136</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; No   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">275 (95.8%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">530 (93.0%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Yes  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">12 ( 4.2%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">40 ( 7.0%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">entry    </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.035</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Femoral   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">119 (41.5%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">193 (33.9%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Radial    </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">168 (58.5%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">377 (66.1%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">Dx  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.012</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; NSTEMI    </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">50 (17.4%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">103 (18.1%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; STEMI</td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">84 (29.3%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">220 (38.6%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Unstable Angina</td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">153 (53.3%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">247 (43.3%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">EF  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">56.3 ± 10.1</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">55.6 ±  9.4</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.387</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">height   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">153.8 ±  6.2</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">167.9 ±  6.1</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">< 0.001</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">weight   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">57.2 ±  9.3</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">68.7 ± 10.3</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">< 0.001</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">BMI </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">24.2 ±  3.6</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">24.3 ±  3.2</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.611</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">obesity  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.580</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; No   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">194 (67.6%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">373 (65.4%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Yes  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">93 (32.4%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">197 (34.6%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">TC  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">188.9 ± 51.1</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">183.3 ± 45.9</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.124</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">LDLC</td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">117.8 ± 41.2</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">116.0 ± 41.1</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.561</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">HDLC</td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">39.0 ± 11.5</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">37.8 ± 10.9</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.145</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">TG  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">119.9 ± 76.2</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">127.9 ± 97.3</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.195</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">DM  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">0.077</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; No   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">173 (60.3%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">380 (66.7%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Yes  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">114 (39.7%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">190 (33.3%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">HBP </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">< 0.001</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; No   </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">83 (28.9%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">273 (47.9%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Yes  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">204 (71.1%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">297 (52.1%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">smoking  </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;"></td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;">< 0.001</td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Ex-smoker </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">49 (17.1%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">155 (27.2%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Never</td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">209 (72.8%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">123 (21.6%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td align="left" style="border-left: 0px solid black;border-top: hidden;"> &nbsp;&nbsp;&nbsp; Smoker    </td>
<td align="left" style="border-left: 0px solid black;border-top: hidden;">29 (10.1%)</td>
<td align="center" style="border-left: 0px solid black;border-top: hidden;">292 (51.2%)</td>
<td align="right" style="border-left: 0px solid black;border-right:0px solid black;border-top: hidden;"></td>
</tr>
<tr>
<td colspan="4" align="left" style="font-size:9pt ;border-top: 1px solid black; border-bottom: hidden;"></td>
</tr>
</table>

         Descriptive Statistics        
---------------------------------------- 
                        N      Total    
---------------------------------------- 
 age                  857  63.3 ± 11.7 
 sex                  857               
   - Female                287  (33.5%) 
   - Male                  570  (66.5%) 
 cardiogenicShock     857               
   - No                    805  (93.9%) 
   - Yes                     52  (6.1%) 
 entry                857               
   - Femoral               312  (36.4%) 
   - Radial                545  (63.6%) 
 Dx                   857               
   - NSTEMI                153  (17.9%) 
   - STEMI                 304  (35.5%) 
   - Unstable Angina       400  (46.7%) 
 EF                   723   55.8 ± 9.6 
 height               764  163.2 ± 9.1 
 weight               766  64.8 ± 11.4 
 BMI                  764   24.3 ± 3.3 
 obesity              857               
   - No                    567  (66.2%) 
   - Yes                   290  (33.8%) 
 TC                   834 185.2 ± 47.8 
 LDLC                 833 116.6 ± 41.1 
 HDLC                 834  38.2 ± 11.1 
 TG                   842 125.2 ± 90.9 
 DM                   857               
   - No                    553  (64.5%) 
   - Yes                   304  (35.5%) 
 HBP                  857               
   - No                    356  (41.5%) 
   - Yes                   501  (58.5%) 
 smoking              857               
   - Ex-smoker             204  (23.8%) 
   - Never                 332  (38.7%) 
   - Smoker                321  (37.5%) 
---------------------------------------- 

moonBook documentation built on Jan. 5, 2022, 9:06 a.m.