diff --git a/articles/Automatic_Regression_Modeling.html b/articles/Automatic_Regression_Modeling.html index e5c593e..f8cefa0 100644 --- a/articles/Automatic_Regression_Modeling.html +++ b/articles/Automatic_Regression_Modeling.html @@ -133,67 +133,67 @@

Linear model with multiple variabl
 autoReg(fit) %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: mpg

unit

value

Coefficient (multivariable)

Dependent: mpg

unit

value

Coefficient (multivariable)

wt

[1.5,5.4]

Mean ± SD

3.2 ± 1.0

-4.80 (-13.06 to 3.46, p=.242)

wt

[1.5,5.4]

Mean ± SD

3.2 ± 1.0

-4.80 (-13.06 to 3.46, p=.242)

hp

[52,335]

Mean ± SD

146.7 ± 68.6

-0.09 (-0.22 to 0.04, p=.183)

hp

[52,335]

Mean ± SD

146.7 ± 68.6

-0.09 (-0.22 to 0.04, p=.183)

am

[0,1]

Mean ± SD

0.4 ± 0.5

12.84 (-16.52 to 42.19, p=.376)

am

[0,1]

Mean ± SD

0.4 ± 0.5

12.84 (-16.52 to 42.19, p=.376)

wt:hp

0.01 (-0.03 to 0.05, p=.458)

wt:hp

0.01 (-0.03 to 0.05, p=.458)

wt:am

-5.36 (-14.85 to 4.13, p=.255)

wt:am

-5.36 (-14.85 to 4.13, p=.255)

hp:am

-0.03 (-0.22 to 0.15, p=.717)

hp:am

-0.03 (-0.22 to 0.15, p=.717)

wt:hp:am

:

0.02 (-0.04 to 0.07, p=.503)

wt:hp:am

:

0.02 (-0.04 to 0.07, p=.503)

From the result of multivariable analysis, we found no explanatory @@ -209,75 +209,75 @@

Selection of e
 autoReg(fit,uni=TRUE, threshold=0.2) %>% myft()
- - + +
- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - +

Dependent: mpg

unit

value

Coefficient (univariable)

Coefficient (multivariable)

Dependent: mpg

unit

value

Coefficient (univariable)

Coefficient (multivariable)

wt

[1.5,5.4]

Mean ± SD

3.2 ± 1.0

-5.34 (-6.49 to -4.20, p<.001)

-7.50 (-13.21 to -1.80, p=.012)

wt

[1.5,5.4]

Mean ± SD

3.2 ± 1.0

-5.34 (-6.49 to -4.20, p<.001)

-7.50 (-13.21 to -1.80, p=.012)

hp

[52,335]

Mean ± SD

146.7 ± 68.6

-0.07 (-0.09 to -0.05, p<.001)

-0.11 (-0.20 to -0.02, p=.022)

hp

[52,335]

Mean ± SD

146.7 ± 68.6

-0.07 (-0.09 to -0.05, p<.001)

-0.11 (-0.20 to -0.02, p=.022)

am

[0,1]

Mean ± SD

0.4 ± 0.5

7.24 (3.64 to 10.85, p<.001)

1.91 (-11.29 to 15.10, p=.769)

am

[0,1]

Mean ± SD

0.4 ± 0.5

7.24 (3.64 to 10.85, p<.001)

1.91 (-11.29 to 15.10, p=.769)

wt:hp

-0.01 (-0.02 to -0.01, p<.001)

0.02 (-0.00 to 0.05, p=.072)

wt:hp

-0.01 (-0.02 to -0.01, p<.001)

0.02 (-0.00 to 0.05, p=.072)

wt:am

1.89 (0.25 to 3.52, p=.025)

-0.60 (-4.92 to 3.73, p=.778)

wt:am

1.89 (0.25 to 3.52, p=.025)

-0.60 (-4.92 to 3.73, p=.778)

hp:am

0.01 (-0.02 to 0.04, p=.452)

hp:am

0.01 (-0.02 to 0.04, p=.452)

wt:hp:am

:

-0.00 (-0.01 to 0.01, p=.982)

wt:hp:am

:

-0.00 (-0.01 to 0.01, p=.982)

As you can see in the above table, the coefficients of hp:am(the @@ -322,83 +322,83 @@

Stepwise backward eliminationfit=lm(mpg~hp*wt*am,data=mtcars) autoReg(fit,uni=TRUE,final=TRUE) %>% myft()
- - + +
- - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +

Dependent: mpg

unit

value

Coefficient (univariable)

Coefficient (multivariable)

Coefficient (final)

Dependent: mpg

unit

value

Coefficient (univariable)

Coefficient (multivariable)

Coefficient (final)

hp

[52,335]

Mean ± SD

146.7 ± 68.6

-0.07 (-0.09 to -0.05, p<.001)

-0.11 (-0.20 to -0.02, p=.022)

-0.12 (-0.17 to -0.07, p<.001)

wt

[1.5,5.4]

Mean ± SD

3.2 ± 1.0

-5.34 (-6.49 to -4.20, p<.001)

-7.50 (-13.21 to -1.80, p=.012)

-8.22 (-10.82 to -5.62, p<.001)

am

[0,1]

Mean ± SD

0.4 ± 0.5

7.24 (3.64 to 10.85, p<.001)

1.91 (-11.29 to 15.10, p=.769)

hp:wt

-0.01 (-0.02 to -0.01, p<.001)

0.02 (-0.00 to 0.05, p=.072)

0.03 (0.01 to 0.04, p<.001)

hp:am

0.01 (-0.02 to 0.04, p=.452)

wt:am

1.89 (0.25 to 3.52, p=.025)

-0.60 (-4.92 to 3.73, p=.778)

hp:wt:am

:

-0.00 (-0.01 to 0.01, p=.982)

hp

[52,335]

Mean ± SD

146.7 ± 68.6

-0.07 (-0.09 to -0.05, p<.001)

-0.11 (-0.20 to -0.02, p=.022)

-0.12 (-0.17 to -0.07, p<.001)

wt

[1.5,5.4]

Mean ± SD

3.2 ± 1.0

-5.34 (-6.49 to -4.20, p<.001)

-7.50 (-13.21 to -1.80, p=.012)

-8.22 (-10.82 to -5.62, p<.001)

am

[0,1]

Mean ± SD

0.4 ± 0.5

7.24 (3.64 to 10.85, p<.001)

1.91 (-11.29 to 15.10, p=.769)

hp:wt

-0.01 (-0.02 to -0.01, p<.001)

0.02 (-0.00 to 0.05, p=.072)

0.03 (0.01 to 0.04, p<.001)

hp:am

0.01 (-0.02 to 0.04, p=.452)

wt:am

1.89 (0.25 to 3.52, p=.025)

-0.60 (-4.92 to 3.73, p=.778)

hp:wt:am

:

-0.00 (-0.01 to 0.01, p=.982)

@@ -412,83 +412,83 @@

Linear model fit=lm(Sepal.Length~Sepal.Width*Species,data=iris) autoReg(fit,uni=TRUE, final=TRUE) %>% myft()
- - + +
- - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +

Dependent: Sepal.Length

unit

value

Coefficient (univariable)

Coefficient (multivariable)

Coefficient (final)

Dependent: Sepal.Length

unit

value

Coefficient (univariable)

Coefficient (multivariable)

Coefficient (final)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

-0.22 (-0.53 to 0.08, p=.152)

0.69 (0.36 to 1.02, p<.001)

0.80 (0.59 to 1.01, p<.001)

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

0.93 (0.73 to 1.13, p<.001)

0.90 (-0.68 to 2.48, p=.261)

1.46 (1.24 to 1.68, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.58 (1.38 to 1.79, p<.001)

1.27 (-0.35 to 2.88, p=.123)

1.95 (1.75 to 2.14, p<.001)

Sepal.Width:Species

setosa

0.48 (0.29 to 0.67, p<.001)

Sepal.Width:Species

versicolor

0.93 (0.69 to 1.17, p<.001)

0.17 (-0.34 to 0.69, p=.503)

Sepal.Width:Species

virginica

1.08 (0.86 to 1.30, p<.001)

0.21 (-0.29 to 0.72, p=.411)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

-0.22 (-0.53 to 0.08, p=.152)

0.69 (0.36 to 1.02, p<.001)

0.80 (0.59 to 1.01, p<.001)

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

0.93 (0.73 to 1.13, p<.001)

0.90 (-0.68 to 2.48, p=.261)

1.46 (1.24 to 1.68, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.58 (1.38 to 1.79, p<.001)

1.27 (-0.35 to 2.88, p=.123)

1.95 (1.75 to 2.14, p<.001)

Sepal.Width:Species

setosa

0.48 (0.29 to 0.67, p<.001)

Sepal.Width:Species

versicolor

0.93 (0.69 to 1.17, p<.001)

0.17 (-0.34 to 0.69, p=.503)

Sepal.Width:Species

virginica

1.08 (0.86 to 1.30, p<.001)

0.21 (-0.29 to 0.72, p=.411)

@@ -506,38 +506,38 @@

Original datadf=gaze(Sepal.Length~Sepal.Width+Species,data=iris) df %>% myft()
- - + +
- - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +

name

levels

unit

value

name

levels

unit

value

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

virginica (N=50)

Mean ± SD

6.6 ± 0.6

virginica (N=50)

Mean ± SD

6.6 ± 0.6

@@ -547,43 +547,43 @@

Original datadf=addFitSummary(df,fit,"Coefficient (original data)") df %>% myft()

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

name

levels

unit

value

Coefficient (original data)

name

levels

unit

value

Coefficient (original data)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

0.80 (0.59 to 1.01, p<.001)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

0.80 (0.59 to 1.01, p<.001)

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

1.46 (1.24 to 1.68, p<.001)

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

1.46 (1.24 to 1.68, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.95 (1.75 to 2.14, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.95 (1.75 to 2.14, p<.001)

@@ -603,57 +603,57 @@

Missed datairis1$Sepal.Width[no]=NA gaze(Sepal.Width~.,data=iris1,missing=TRUE) %>% myft()

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

Dependent:Sepal.Width

levels

Not missing (N=100)

Missing (N=50)

p

Dependent:Sepal.Width

levels

Not missing (N=100)

Missing (N=50)

p

Sepal.Length

Mean ± SD

5.8 ± 0.8

5.9 ± 0.9

.275

Sepal.Length

Mean ± SD

5.8 ± 0.8

5.9 ± 0.8

.657

Petal.Length

Mean ± SD

3.7 ± 1.7

4.0 ± 1.9

.304

Petal.Length

Mean ± SD

3.7 ± 1.8

4.0 ± 1.7

.314

Petal.Width

Mean ± SD

1.2 ± 0.8

1.3 ± 0.8

.326

Petal.Width

Mean ± SD

1.2 ± 0.8

1.3 ± 0.7

.522

Species

setosa

34 (34%)

16 (32%)

.432

Species

setosa

37 (37%)

13 (26%)

.395

versicolor

36 (36%)

14 (28%)

versicolor

31 (31%)

19 (38%)

virginica

30 (30%)

20 (40%)

virginica

32 (32%)

18 (36%)

@@ -664,48 +664,48 @@

Missed datadf=addFitSummary(df,fit1,"Coefficient (missed data)") df %>% myft()

- - + +
- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + +

name

levels

unit

value

Coefficient (original data)

Coefficient (missed data)

name

levels

unit

value

Coefficient (original data)

Coefficient (missed data)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

0.80 (0.59 to 1.01, p<.001)

0.83 (0.59 to 1.07, p<.001)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

0.80 (0.59 to 1.01, p<.001)

0.77 (0.53 to 1.01, p<.001)

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

1.46 (1.24 to 1.68, p<.001)

1.48 (1.23 to 1.74, p<.001)

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

1.46 (1.24 to 1.68, p<.001)

1.47 (1.21 to 1.73, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.95 (1.75 to 2.14, p<.001)

1.86 (1.63 to 2.10, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.95 (1.75 to 2.14, p<.001)

1.96 (1.72 to 2.19, p<.001)

@@ -724,53 +724,53 @@

Multiple imputationdf=addFitSummary(df,fit2,statsname="Coefficient (imputed)") df %>% myft()

- - + +
- - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

name

levels

unit

value

Coefficient (original data)

Coefficient (missed data)

Coefficient (imputed)

name

levels

unit

value

Coefficient (original data)

Coefficient (missed data)

Coefficient (imputed)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

0.80 (0.59 to 1.01, p<.001)

0.83 (0.59 to 1.07, p<.001)

0.75 (0.51 to 0.99, p<.001)

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

1.46 (1.24 to 1.68, p<.001)

1.48 (1.23 to 1.74, p<.001)

1.40 (1.16 to 1.64, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.95 (1.75 to 2.14, p<.001)

1.86 (1.63 to 2.10, p<.001)

1.89 (1.68 to 2.09, p<.001)

Sepal.Width

[2,4.4]

Mean ± SD

3.1 ± 0.4

0.80 (0.59 to 1.01, p<.001)

0.77 (0.53 to 1.01, p<.001)

0.80 (0.57 to 1.03, p<.001)

Species

setosa (N=50)

Mean ± SD

5.0 ± 0.4

versicolor (N=50)

Mean ± SD

5.9 ± 0.5

1.46 (1.24 to 1.68, p<.001)

1.47 (1.21 to 1.73, p<.001)

1.47 (1.23 to 1.72, p<.001)

virginica (N=50)

Mean ± SD

6.6 ± 0.6

1.95 (1.75 to 2.14, p<.001)

1.96 (1.72 to 2.19, p<.001)

1.98 (1.77 to 2.20, p<.001)

diff --git a/articles/Automatic_Regression_Modeling_files/figure-html/unnamed-chunk-15-1.png b/articles/Automatic_Regression_Modeling_files/figure-html/unnamed-chunk-15-1.png index 5d67bb0..1462f20 100644 Binary files a/articles/Automatic_Regression_Modeling_files/figure-html/unnamed-chunk-15-1.png and b/articles/Automatic_Regression_Modeling_files/figure-html/unnamed-chunk-15-1.png differ diff --git a/articles/Bootstrap_Prediction.html b/articles/Bootstrap_Prediction.html index 2c536d5..8485f7d 100644 --- a/articles/Bootstrap_Prediction.html +++ b/articles/Bootstrap_Prediction.html @@ -140,53 +140,53 @@
 autoReg(fit) %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: cens.factor

Alive (N=387)

Died (N=299)

OR (multivariable)

Dependent: cens.factor

Alive (N=387)

Died (N=299)

OR (multivariable)

horTh

no

235 (60.7%)

205 (68.6%)

horTh

no

235 (60.7%)

205 (68.6%)

yes

152 (39.3%)

94 (31.4%)

0.62 (0.44-0.88, p=.007)

yes

152 (39.3%)

94 (31.4%)

0.62 (0.44-0.88, p=.007)

pnodes

Mean ± SD

3.8 ± 4.6

6.5 ± 6.1

1.11 (1.08-1.16, p<.001)

pnodes

Mean ± SD

3.8 ± 4.6

6.5 ± 6.1

1.11 (1.08-1.16, p<.001)

menostat

Pre

171 (44.2%)

119 (39.8%)

menostat

Pre

171 (44.2%)

119 (39.8%)

Post

216 (55.8%)

180 (60.2%)

1.34 (0.96-1.87, p=.082)

Post

216 (55.8%)

180 (60.2%)

1.34 (0.96-1.87, p=.082)

You can draw a plot summarizing the model.

@@ -204,12 +204,12 @@
df=bootPredict(fit,newdata,R=500)
 head(df)
   horTh pnodes menostat  estimate     lower     upper
-1    no      1      Pre 0.3354033 0.2704220 0.3968267
-2   yes      1      Pre 0.2383652 0.1659871 0.3168573
-3    no      2      Pre 0.3600105 0.2973545 0.4185011
-4   yes      2      Pre 0.2586235 0.1868069 0.3366845
-5    no      3      Pre 0.3853762 0.3248559 0.4438158
-6   yes      3      Pre 0.2799707 0.2094129 0.3550876
+1 no 1 Pre 0.3354033 0.2741894 0.3988339 +2 yes 1 Pre 0.2383652 0.1638907 0.3177576 +3 no 2 Pre 0.3600105 0.2983745 0.4214267 +4 yes 2 Pre 0.2586235 0.1853401 0.3419498 +5 no 3 Pre 0.3853762 0.3272845 0.4424899 +6 yes 3 Pre 0.2799707 0.2082826 0.3705485

With this result, you can draw a plot showing bootstrapping prediction of breast cancer.

diff --git a/articles/Bootstrap_Prediction_files/figure-html/unnamed-chunk-8-1.png b/articles/Bootstrap_Prediction_files/figure-html/unnamed-chunk-8-1.png
index baad5e6..296b860 100644
Binary files a/articles/Bootstrap_Prediction_files/figure-html/unnamed-chunk-8-1.png and b/articles/Bootstrap_Prediction_files/figure-html/unnamed-chunk-8-1.png differ
diff --git a/articles/Getting_started.html b/articles/Getting_started.html
index 6f5e9f1..3a73109 100644
--- a/articles/Getting_started.html
+++ b/articles/Getting_started.html
@@ -153,190 +153,190 @@ 

For easy reproducible research : my ft=gaze(sex~.,data=acs) %>% myft() ft

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

name

levels

Female (N=287)

Male (N=570)

p

name

levels

Female (N=287)

Male (N=570)

p

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

Yes

12 (4.2%)

40 (7%)

Yes

12 (4.2%)

40 (7%)

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

Radial

168 (58.5%)

377 (66.1%)

Radial

168 (58.5%)

377 (66.1%)

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

STEMI

84 (29.3%)

220 (38.6%)

STEMI

84 (29.3%)

220 (38.6%)

Unstable Angina

153 (53.3%)

247 (43.3%)

Unstable Angina

153 (53.3%)

247 (43.3%)

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

obesity

No

194 (67.6%)

373 (65.4%)

.580

obesity

No

194 (67.6%)

373 (65.4%)

.580

Yes

93 (32.4%)

197 (34.6%)

Yes

93 (32.4%)

197 (34.6%)

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

DM

No

173 (60.3%)

380 (66.7%)

.077

DM

No

173 (60.3%)

380 (66.7%)

.077

Yes

114 (39.7%)

190 (33.3%)

Yes

114 (39.7%)

190 (33.3%)

HBP

No

83 (28.9%)

273 (47.9%)

<.001

HBP

No

83 (28.9%)

273 (47.9%)

<.001

Yes

204 (71.1%)

297 (52.1%)

Yes

204 (71.1%)

297 (52.1%)

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

Never

209 (72.8%)

123 (21.6%)

Never

209 (72.8%)

123 (21.6%)

Smoker

29 (10.1%)

292 (51.2%)

Smoker

29 (10.1%)

292 (51.2%)

@@ -363,291 +363,291 @@

 gaze(sex+Dx~.,data=acs) %>% myft()

- - + +
- - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

sex (N)

Female (N=287)

Male (N=570)

sex (N)

Female (N=287)

Male (N=570)

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

p

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

p

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

3 (2.9%)

37 (16.8%)

0 (0%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

.013

36 (35%)

88 (40%)

69 (27.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

67 (65%)

132 (60%)

178 (72.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

32 (31.1%)

66 (30%)

92 (37.2%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

3 (2.9%)

37 (16.8%)

0 (0%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

.013

36 (35%)

88 (40%)

69 (27.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

67 (65%)

132 (60%)

178 (72.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

32 (31.1%)

66 (30%)

92 (37.2%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

@@ -657,48 +657,48 @@

 gaze(sex+DM+HBP~age,data=acs) %>% myft()

- - + +
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + +

sex
DM
(N)

Female
No
(N=173)

Female
Yes
(N=114)

Male
No
(N=380)

Male
Yes
(N=190)

name

levels

No (N=54)

Yes (N=119)

p

No (N=29)

Yes (N=85)

p

No (N=205)

Yes (N=175)

p

No (N=68)

Yes (N=122)

p

sex
DM
(N)

Female
No
(N=173)

Female
Yes
(N=114)

Male
No
(N=380)

Male
Yes
(N=190)

name

levels

No (N=54)

Yes (N=119)

p

No (N=29)

Yes (N=85)

p

No (N=205)

Yes (N=175)

p

No (N=68)

Yes (N=122)

p

age

Mean ± SD

68.5 ± 14.2

69.6 ± 9.9

.589

67.1 ± 7.8

68.0 ± 10.3

.660

57.7 ± 11.5

64.5 ± 10.4

<.001

56.9 ± 10.4

61.9 ± 10.3

.002

age

Mean ± SD

68.5 ± 14.2

69.6 ± 9.9

.589

67.1 ± 7.8

68.0 ± 10.3

.660

57.7 ± 11.5

64.5 ± 10.4

<.001

56.9 ± 10.4

61.9 ± 10.3

.002

@@ -758,74 +758,74 @@

2. For automat
 autoReg(fit) %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: status

0 (N=925)

1 (N=897)

OR (multivariable)

Dependent: status

0 (N=925)

1 (N=897)

OR (multivariable)

rx

Obs

282 (30.5%)

342 (38.1%)

rx

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

sex

Mean ± SD

0.5 ± 0.5

0.5 ± 0.5

0.95 (0.78-1.15, p=.589)

sex

Mean ± SD

0.5 ± 0.5

0.5 ± 0.5

0.95 (0.78-1.15, p=.589)

age

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

age

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

obstruct

Mean ± SD

0.2 ± 0.4

0.2 ± 0.4

1.33 (1.04-1.70, p=.023)

obstruct

Mean ± SD

0.2 ± 0.4

0.2 ± 0.4

1.33 (1.04-1.70, p=.023)

perfor

Mean ± SD

0.0 ± 0.2

0.0 ± 0.2

1.38 (0.78-2.44, p=.274)

perfor

Mean ± SD

0.0 ± 0.2

0.0 ± 0.2

1.38 (0.78-2.44, p=.274)

nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

If you want make a table with more explanation, you can make @@ -844,95 +844,95 @@

2. For automat result=autoReg(fit) result %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: status.factor

Alive (N=925)

Died (N=897)

OR (multivariable)

Dependent: status.factor

Alive (N=925)

Died (N=897)

OR (multivariable)

rx

Obs

282 (30.5%)

342 (38.1%)

rx

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

sex.factor

Female

436 (47.1%)

434 (48.4%)

sex.factor

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

age

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

age

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

obstruct.factor

No

764 (82.6%)

706 (78.7%)

obstruct.factor

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

perfor.factor

No

903 (97.6%)

865 (96.4%)

perfor.factor

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

You can add labels to the names of variables with setLabel() @@ -950,95 +950,95 @@

2. For automat result=autoReg(fit) result %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (multivariable)

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (multivariable)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

Sex

Female

436 (47.1%)

434 (48.4%)

Sex

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

Obstruction

No

764 (82.6%)

706 (78.7%)

Obstruction

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

Perforation

No

903 (97.6%)

865 (96.4%)

Perforation

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

If you do not want to show the reference values in table, you can @@ -1046,67 +1046,67 @@

2. For automat
 shorten(result) %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (multivariable)

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (multivariable)

Treatment

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Treatment

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

Sex

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

Sex

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

Obstruction

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

Obstruction

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

Perforation

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

Perforation

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

@@ -1123,107 +1123,107 @@

 autoReg(fit, uni=TRUE) %>% myft()
- - + +
- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - +

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (univariable)

OR (multivariable)

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (univariable)

OR (multivariable)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.75-1.17, p=.554)

0.93 (0.74-1.18, p=.570)

Lev

285 (30.8%)

323 (36%)

0.93 (0.75-1.17, p=.554)

0.93 (0.74-1.18, p=.570)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.43-0.67, p<.001)

0.54 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.43-0.67, p<.001)

0.54 (0.42-0.68, p<.001)

Sex

Female

436 (47.1%)

434 (48.4%)

Sex

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.79-1.14, p=.594)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.79-1.14, p=.594)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.00, p=.305)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.00, p=.305)

Obstruction

No

764 (82.6%)

706 (78.7%)

Obstruction

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.28 (1.02-1.62, p=.036)

1.32 (1.04-1.69, p=.025)

Yes

161 (17.4%)

191 (21.3%)

1.28 (1.02-1.62, p=.036)

1.32 (1.04-1.69, p=.025)

Perforation

No

903 (97.6%)

865 (96.4%)

Perforation

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.52 (0.88-2.63, p=.137)

1.38 (0.78-2.44, p=.273)

Yes

22 (2.4%)

32 (3.6%)

1.52 (0.88-2.63, p=.137)

1.38 (0.78-2.44, p=.273)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

If you want to include all explanatory variables in the multivariate @@ -1231,107 +1231,107 @@

 autoReg(fit, uni=TRUE,threshold=1) %>% myft()
- - + +
- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - +

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (univariable)

OR (multivariable)

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (univariable)

OR (multivariable)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.75-1.17, p=.554)

0.93 (0.74-1.18, p=.571)

Lev

285 (30.8%)

323 (36%)

0.93 (0.75-1.17, p=.554)

0.93 (0.74-1.18, p=.571)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.43-0.67, p<.001)

0.53 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.43-0.67, p<.001)

0.53 (0.42-0.68, p<.001)

Sex

Female

436 (47.1%)

434 (48.4%)

Sex

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.79-1.14, p=.594)

0.95 (0.78-1.15, p=.589)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.79-1.14, p=.594)

0.95 (0.78-1.15, p=.589)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.00, p=.305)

1.00 (0.99-1.01, p=.586)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.00, p=.305)

1.00 (0.99-1.01, p=.586)

Obstruction

No

764 (82.6%)

706 (78.7%)

Obstruction

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.28 (1.02-1.62, p=.036)

1.33 (1.04-1.70, p=.023)

Yes

161 (17.4%)

191 (21.3%)

1.28 (1.02-1.62, p=.036)

1.33 (1.04-1.70, p=.023)

Perforation

No

903 (97.6%)

865 (96.4%)

Perforation

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.52 (0.88-2.63, p=.137)

1.38 (0.78-2.44, p=.274)

Yes

22 (2.4%)

32 (3.6%)

1.52 (0.88-2.63, p=.137)

1.38 (0.78-2.44, p=.274)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

You can perform stepwise backward elimination to select variables and @@ -1339,119 +1339,119 @@

 autoReg(fit, uni=TRUE,threshold=1, final=TRUE) %>% myft()
- - + +
- - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (univariable)

OR (multivariable)

OR (final)

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (univariable)

OR (multivariable)

OR (final)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.75-1.17, p=.554)

0.93 (0.74-1.18, p=.571)

0.94 (0.74-1.18, p=.575)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.43-0.67, p<.001)

0.53 (0.42-0.68, p<.001)

0.54 (0.42-0.68, p<.001)

Sex

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.79-1.14, p=.594)

0.95 (0.78-1.15, p=.589)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.00, p=.305)

1.00 (0.99-1.01, p=.586)

Obstruction

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.28 (1.02-1.62, p=.036)

1.33 (1.04-1.70, p=.023)

1.34 (1.05-1.71, p=.019)

Perforation

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.52 (0.88-2.63, p=.137)

1.38 (0.78-2.44, p=.274)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.75-1.17, p=.554)

0.93 (0.74-1.18, p=.571)

0.94 (0.74-1.18, p=.575)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.43-0.67, p<.001)

0.53 (0.42-0.68, p<.001)

0.54 (0.42-0.68, p<.001)

Sex

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.79-1.14, p=.594)

0.95 (0.78-1.15, p=.589)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.00, p=.305)

1.00 (0.99-1.01, p=.586)

Obstruction

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.28 (1.02-1.62, p=.036)

1.33 (1.04-1.70, p=.023)

1.34 (1.05-1.71, p=.019)

Perforation

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.52 (0.88-2.63, p=.137)

1.38 (0.78-2.44, p=.274)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

@@ -1464,107 +1464,107 @@

Multiple imputation with mice()
 autoReg(fit, imputed=TRUE) %>% myft()

- - + +
- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - +

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (multivariable)

OR (imputed)

Dependent: Mortality

Alive (N=925)

Died (N=897)

OR (multivariable)

OR (imputed)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Treatment

Obs

282 (30.5%)

342 (38.1%)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

0.93 (0.74-1.18, p=.571)

Lev

285 (30.8%)

323 (36%)

0.93 (0.74-1.18, p=.571)

0.93 (0.74-1.18, p=.571)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

0.53 (0.42-0.68, p<.001)

Lev+5FU

358 (38.7%)

232 (25.9%)

0.53 (0.42-0.68, p<.001)

0.53 (0.42-0.68, p<.001)

Sex

Female

436 (47.1%)

434 (48.4%)

Sex

Female

436 (47.1%)

434 (48.4%)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

0.95 (0.78-1.15, p=.589)

Male

489 (52.9%)

463 (51.6%)

0.95 (0.78-1.15, p=.589)

0.95 (0.78-1.15, p=.589)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

1.00 (0.99-1.01, p=.586)

Age(Years)

Mean ± SD

60.1 ± 11.5

59.5 ± 12.3

1.00 (0.99-1.01, p=.586)

1.00 (0.99-1.01, p=.586)

Obstruction

No

764 (82.6%)

706 (78.7%)

Obstruction

No

764 (82.6%)

706 (78.7%)

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

1.33 (1.04-1.70, p=.024)

Yes

161 (17.4%)

191 (21.3%)

1.33 (1.04-1.70, p=.023)

1.33 (1.04-1.70, p=.024)

Perforation

No

903 (97.6%)

865 (96.4%)

Perforation

No

903 (97.6%)

865 (96.4%)

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

1.38 (0.78-2.44, p=.274)

Yes

22 (2.4%)

32 (3.6%)

1.38 (0.78-2.44, p=.274)

1.38 (0.78-2.44, p=.274)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

Positive nodes

Mean ± SD

2.7 ± 2.4

4.6 ± 4.2

1.21 (1.17-1.25, p<.001)

1.21 (1.17-1.25, p<.001)

diff --git a/articles/Statiastical_test_in_gaze.html b/articles/Statiastical_test_in_gaze.html index 3003834..5dc5f19 100644 --- a/articles/Statiastical_test_in_gaze.html +++ b/articles/Statiastical_test_in_gaze.html @@ -141,190 +141,190 @@

Statistical tests for numeric v
 gaze(sex~.,data=acs) %>% myft()
- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

name

levels

Female (N=287)

Male (N=570)

p

name

levels

Female (N=287)

Male (N=570)

p

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

Yes

12 (4.2%)

40 (7%)

Yes

12 (4.2%)

40 (7%)

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

Radial

168 (58.5%)

377 (66.1%)

Radial

168 (58.5%)

377 (66.1%)

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

STEMI

84 (29.3%)

220 (38.6%)

STEMI

84 (29.3%)

220 (38.6%)

Unstable Angina

153 (53.3%)

247 (43.3%)

Unstable Angina

153 (53.3%)

247 (43.3%)

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

obesity

No

194 (67.6%)

373 (65.4%)

.580

obesity

No

194 (67.6%)

373 (65.4%)

.580

Yes

93 (32.4%)

197 (34.6%)

Yes

93 (32.4%)

197 (34.6%)

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

DM

No

173 (60.3%)

380 (66.7%)

.077

DM

No

173 (60.3%)

380 (66.7%)

.077

Yes

114 (39.7%)

190 (33.3%)

Yes

114 (39.7%)

190 (33.3%)

HBP

No

83 (28.9%)

273 (47.9%)

<.001

HBP

No

83 (28.9%)

273 (47.9%)

<.001

Yes

204 (71.1%)

297 (52.1%)

Yes

204 (71.1%)

297 (52.1%)

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

Never

209 (72.8%)

123 (21.6%)

Never

209 (72.8%)

123 (21.6%)

Smoker

29 (10.1%)

292 (51.2%)

Smoker

29 (10.1%)

292 (51.2%)

@@ -463,208 +463,208 @@

2. Comparison of three or more group
 gaze(Dx~.,data=acs) %>% myft()
- - + +
- - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + +

name

levels

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

p

name

levels

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

p

age

Mean ± SD

64.3 ± 12.3

62.1 ± 12.1

63.8 ± 11.0

.073

age

Mean ± SD

64.3 ± 12.3

62.1 ± 12.1

63.8 ± 11.0

.073

sex

Female

50 (32.7%)

84 (27.6%)

153 (38.2%)

.012

sex

Female

50 (32.7%)

84 (27.6%)

153 (38.2%)

.012

Male

103 (67.3%)

220 (72.4%)

247 (61.8%)

Male

103 (67.3%)

220 (72.4%)

247 (61.8%)

cardiogenicShock

No

149 (97.4%)

256 (84.2%)

400 (100%)

<.001

cardiogenicShock

No

149 (97.4%)

256 (84.2%)

400 (100%)

<.001

Yes

4 (2.6%)

48 (15.8%)

0 (0%)

Yes

4 (2.6%)

48 (15.8%)

0 (0%)

entry

Femoral

58 (37.9%)

133 (43.8%)

121 (30.2%)

.001

entry

Femoral

58 (37.9%)

133 (43.8%)

121 (30.2%)

.001

Radial

95 (62.1%)

171 (56.2%)

279 (69.8%)

Radial

95 (62.1%)

171 (56.2%)

279 (69.8%)

EF

Mean ± SD

55.0 ± 9.3

52.4 ± 9.5

59.2 ± 8.7

<.001

EF

Mean ± SD

55.0 ± 9.3

52.4 ± 9.5

59.2 ± 8.7

<.001

height

Mean ± SD

163.3 ± 8.2

165.1 ± 8.2

161.7 ± 9.7

<.001

height

Mean ± SD

163.3 ± 8.2

165.1 ± 8.2

161.7 ± 9.7

<.001

weight

Mean ± SD

64.3 ± 10.2

65.7 ± 11.6

64.5 ± 11.6

.361

weight

Mean ± SD

64.3 ± 10.2

65.7 ± 11.6

64.5 ± 11.6

.361

BMI

Mean ± SD

24.1 ± 3.2

24.0 ± 3.3

24.6 ± 3.4

.064

BMI

Mean ± SD

24.1 ± 3.2

24.0 ± 3.3

24.6 ± 3.4

.064

obesity

No

106 (69.3%)

209 (68.8%)

252 (63%)

.186

obesity

No

106 (69.3%)

209 (68.8%)

252 (63%)

.186

Yes

47 (30.7%)

95 (31.2%)

148 (37%)

Yes

47 (30.7%)

95 (31.2%)

148 (37%)

TC

Mean ± SD

193.7 ± 53.6

183.2 ± 43.4

183.5 ± 48.3

.057

TC

Mean ± SD

193.7 ± 53.6

183.2 ± 43.4

183.5 ± 48.3

.057

LDLC

Mean ± SD

126.1 ± 44.7

116.7 ± 39.5

112.9 ± 40.4

.004

LDLC

Mean ± SD

126.1 ± 44.7

116.7 ± 39.5

112.9 ± 40.4

.004

HDLC

Mean ± SD

38.9 ± 11.9

38.5 ± 11.0

37.8 ± 10.9

.501

HDLC

Mean ± SD

38.9 ± 11.9

38.5 ± 11.0

37.8 ± 10.9

.501

TG

Mean ± SD

130.1 ± 88.5

106.5 ± 72.0

137.4 ± 101.6

<.001

TG

Mean ± SD

130.1 ± 88.5

106.5 ± 72.0

137.4 ± 101.6

<.001

DM

No

96 (62.7%)

208 (68.4%)

249 (62.2%)

.209

DM

No

96 (62.7%)

208 (68.4%)

249 (62.2%)

.209

Yes

57 (37.3%)

96 (31.6%)

151 (37.8%)

Yes

57 (37.3%)

96 (31.6%)

151 (37.8%)

HBP

No

62 (40.5%)

150 (49.3%)

144 (36%)

.002

HBP

No

62 (40.5%)

150 (49.3%)

144 (36%)

.002

Yes

91 (59.5%)

154 (50.7%)

256 (64%)

Yes

91 (59.5%)

154 (50.7%)

256 (64%)

smoking

Ex-smoker

42 (27.5%)

66 (21.7%)

96 (24%)

<.001

smoking

Ex-smoker

42 (27.5%)

66 (21.7%)

96 (24%)

<.001

Never

50 (32.7%)

97 (31.9%)

185 (46.2%)

Never

50 (32.7%)

97 (31.9%)

185 (46.2%)

Smoker

61 (39.9%)

141 (46.4%)

119 (29.8%)

Smoker

61 (39.9%)

141 (46.4%)

119 (29.8%)

@@ -699,23 +699,23 @@

(2) Non-parametric method
 gaze(Dx~age,data=acs, method=2) %>% myft()

- - + +
- - - - - - + + + + + + - - - - - - + + + + + +

name

levels

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

p

name

levels

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

p

age

Median (IQR)

65.0 (55.0 to 75.0)

62.0 (53.0 to 71.0)

65.0 (56.0 to 72.0)

.109

age

Median (IQR)

65.0 (55.0 to 75.0)

62.0 (53.0 to 71.0)

65.0 (56.0 to 72.0)

.109

@@ -738,23 +738,23 @@

(3) Performs test for normality
 gaze(Dx~age,data=acs, method=3) %>% myft()

- - + +
- - - - - - + + + + + + - - - - - - + + + + + +

name

levels

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

p

name

levels

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

p

age

Median (IQR)

65.0 (55.0 to 75.0)

62.0 (53.0 to 71.0)

65.0 (56.0 to 72.0)

.109

age

Median (IQR)

65.0 (55.0 to 75.0)

62.0 (53.0 to 71.0)

65.0 (56.0 to 72.0)

.109

@@ -898,291 +898,291 @@

Make a combi
 gaze(sex+Dx~.,data=acs) %>% myft()
- - + +
- - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

sex (N)

Female (N=287)

Male (N=570)

sex (N)

Female (N=287)

Male (N=570)

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

p

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

p

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

3 (2.9%)

37 (16.8%)

0 (0%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

.013

36 (35%)

88 (40%)

69 (27.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

67 (65%)

132 (60%)

178 (72.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

32 (31.1%)

66 (30%)

92 (37.2%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

3 (2.9%)

37 (16.8%)

0 (0%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

.013

36 (35%)

88 (40%)

69 (27.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

67 (65%)

132 (60%)

178 (72.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

32 (31.1%)

66 (30%)

92 (37.2%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

@@ -1191,337 +1191,337 @@

Make a combi
 gaze(sex+Dx~.,data=acs,show.total=TRUE) %>% myft()
- - + +
- - - + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

sex (N)

Female (N=287)

Male (N=570)

sex (N)

Female (N=287)

Male (N=570)

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

total (N=287)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

total (N=570)

p

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

total (N=287)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

total (N=570)

p

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

68.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

60.6 ± 11.2

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

275 (95.8%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

530 (93%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

12 (4.2%)

3 (2.9%)

37 (16.8%)

0 (0%)

40 (7%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

119 (41.5%)

.013

36 (35%)

88 (40%)

69 (27.9%)

193 (33.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

168 (58.5%)

67 (65%)

132 (60%)

178 (72.1%)

377 (66.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

56.3 ± 10.1

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

55.6 ± 9.4

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

153.8 ± 6.2

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

167.9 ± 6.1

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

57.2 ± 9.3

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

68.7 ± 10.3

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

24.2 ± 3.6

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

24.3 ± 3.2

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

194 (67.6%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

373 (65.4%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

93 (32.4%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

197 (34.6%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

188.9 ± 51.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

183.3 ± 45.9

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

117.8 ± 41.2

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

116.0 ± 41.1

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

39.0 ± 11.5

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

37.8 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

119.9 ± 76.2

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

127.9 ± 97.3

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

173 (60.3%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

380 (66.7%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

114 (39.7%)

32 (31.1%)

66 (30%)

92 (37.2%)

190 (33.3%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

83 (28.9%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

273 (47.9%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

204 (71.1%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

297 (52.1%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

49 (17.1%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

155 (27.2%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

209 (72.8%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

123 (21.6%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

29 (10.1%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

292 (51.2%)

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

68.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

60.6 ± 11.2

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

275 (95.8%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

530 (93%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

12 (4.2%)

3 (2.9%)

37 (16.8%)

0 (0%)

40 (7%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

119 (41.5%)

.013

36 (35%)

88 (40%)

69 (27.9%)

193 (33.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

168 (58.5%)

67 (65%)

132 (60%)

178 (72.1%)

377 (66.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

56.3 ± 10.1

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

55.6 ± 9.4

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

153.8 ± 6.2

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

167.9 ± 6.1

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

57.2 ± 9.3

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

68.7 ± 10.3

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

24.2 ± 3.6

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

24.3 ± 3.2

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

194 (67.6%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

373 (65.4%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

93 (32.4%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

197 (34.6%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

188.9 ± 51.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

183.3 ± 45.9

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

117.8 ± 41.2

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

116.0 ± 41.1

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

39.0 ± 11.5

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

37.8 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

119.9 ± 76.2

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

127.9 ± 97.3

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

173 (60.3%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

380 (66.7%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

114 (39.7%)

32 (31.1%)

66 (30%)

92 (37.2%)

190 (33.3%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

83 (28.9%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

273 (47.9%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

204 (71.1%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

297 (52.1%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

49 (17.1%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

155 (27.2%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

209 (72.8%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

123 (21.6%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

29 (10.1%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

292 (51.2%)

@@ -1535,197 +1535,197 @@

Missing data analysis
 gaze(EF~.,data=acs, missing=TRUE) %>% myft()

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

Dependent:EF

levels

Not missing (N=723)

Missing (N=134)

p

Dependent:EF

levels

Not missing (N=723)

Missing (N=134)

p

age

Mean ± SD

63.1 ± 11.9

64.3 ± 10.6

.303

age

Mean ± SD

63.1 ± 11.9

64.3 ± 10.6

.303

sex

Female

240 (33.2%)

47 (35.1%)

.746

sex

Female

240 (33.2%)

47 (35.1%)

.746

Male

483 (66.8%)

87 (64.9%)

Male

483 (66.8%)

87 (64.9%)

cardiogenicShock

No

686 (94.9%)

119 (88.8%)

.012

cardiogenicShock

No

686 (94.9%)

119 (88.8%)

.012

Yes

37 (5.1%)

15 (11.2%)

Yes

37 (5.1%)

15 (11.2%)

entry

Femoral

262 (36.2%)

50 (37.3%)

.889

entry

Femoral

262 (36.2%)

50 (37.3%)

.889

Radial

461 (63.8%)

84 (62.7%)

Radial

461 (63.8%)

84 (62.7%)

Dx

NSTEMI

139 (19.2%)

14 (10.4%)

<.001

Dx

NSTEMI

139 (19.2%)

14 (10.4%)

<.001

STEMI

272 (37.6%)

32 (23.9%)

STEMI

272 (37.6%)

32 (23.9%)

Unstable Angina

312 (43.2%)

88 (65.7%)

Unstable Angina

312 (43.2%)

88 (65.7%)

height

Mean ± SD

163.2 ± 9.1

163.1 ± 9.3

.908

height

Mean ± SD

163.2 ± 9.1

163.1 ± 9.3

.908

weight

Mean ± SD

64.7 ± 11.4

66.3 ± 10.7

.251

weight

Mean ± SD

64.7 ± 11.4

66.3 ± 10.7

.251

BMI

Mean ± SD

24.2 ± 3.4

24.9 ± 3.1

.093

BMI

Mean ± SD

24.2 ± 3.4

24.9 ± 3.1

.093

obesity

No

465 (64.3%)

102 (76.1%)

.011

obesity

No

465 (64.3%)

102 (76.1%)

.011

Yes

258 (35.7%)

32 (23.9%)

Yes

258 (35.7%)

32 (23.9%)

TC

Mean ± SD

186.1 ± 47.5

179.9 ± 49.0

.183

TC

Mean ± SD

186.1 ± 47.5

179.9 ± 49.0

.183

LDLC

Mean ± SD

117.5 ± 40.5

111.1 ± 44.3

.110

LDLC

Mean ± SD

117.5 ± 40.5

111.1 ± 44.3

.110

HDLC

Mean ± SD

38.5 ± 11.0

36.9 ± 11.6

.135

HDLC

Mean ± SD

38.5 ± 11.0

36.9 ± 11.6

.135

TG

Mean ± SD

123.7 ± 87.2

134.1 ± 108.9

.309

TG

Mean ± SD

123.7 ± 87.2

134.1 ± 108.9

.309

DM

No

462 (63.9%)

91 (67.9%)

.428

DM

No

462 (63.9%)

91 (67.9%)

.428

Yes

261 (36.1%)

43 (32.1%)

Yes

261 (36.1%)

43 (32.1%)

HBP

No

303 (41.9%)

53 (39.6%)

.680

HBP

No

303 (41.9%)

53 (39.6%)

.680

Yes

420 (58.1%)

81 (60.4%)

Yes

420 (58.1%)

81 (60.4%)

smoking

Ex-smoker

172 (23.8%)

32 (23.9%)

.033

smoking

Ex-smoker

172 (23.8%)

32 (23.9%)

.033

Never

268 (37.1%)

64 (47.8%)

Never

268 (37.1%)

64 (47.8%)

Smoker

283 (39.1%)

38 (28.4%)

Smoker

283 (39.1%)

38 (28.4%)

@@ -1735,190 +1735,190 @@

Missing data analysis
gaze(sex~.,data=acs,missing=TRUE) %>% myft()
 There is no missing data in column 'sex'

- - + +
- - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + +

name

levels

N

stats

n

name

levels

N

stats

n

age

Mean ± SD

857

63.3 ± 11.7

857

age

Mean ± SD

857

63.3 ± 11.7

857

cardiogenicShock

No

857

805 (93.9%)

805

cardiogenicShock

No

857

805 (93.9%)

805

Yes

52 (6.1%)

52

Yes

52 (6.1%)

52

entry

Femoral

857

312 (36.4%)

312

entry

Femoral

857

312 (36.4%)

312

Radial

545 (63.6%)

545

Radial

545 (63.6%)

545

Dx

NSTEMI

857

153 (17.9%)

153

Dx

NSTEMI

857

153 (17.9%)

153

STEMI

304 (35.5%)

304

STEMI

304 (35.5%)

304

Unstable Angina

400 (46.7%)

400

Unstable Angina

400 (46.7%)

400

EF

Mean ± SD

723

55.8 ± 9.6

723

EF

Mean ± SD

723

55.8 ± 9.6

723

height

Mean ± SD

764

163.2 ± 9.1

764

height

Mean ± SD

764

163.2 ± 9.1

764

weight

Mean ± SD

766

64.8 ± 11.4

766

weight

Mean ± SD

766

64.8 ± 11.4

766

BMI

Mean ± SD

764

24.3 ± 3.3

764

BMI

Mean ± SD

764

24.3 ± 3.3

764

obesity

No

857

567 (66.2%)

567

obesity

No

857

567 (66.2%)

567

Yes

290 (33.8%)

290

Yes

290 (33.8%)

290

TC

Mean ± SD

834

185.2 ± 47.8

834

TC

Mean ± SD

834

185.2 ± 47.8

834

LDLC

Mean ± SD

833

116.6 ± 41.1

833

LDLC

Mean ± SD

833

116.6 ± 41.1

833

HDLC

Mean ± SD

834

38.2 ± 11.1

834

HDLC

Mean ± SD

834

38.2 ± 11.1

834

TG

Mean ± SD

842

125.2 ± 90.9

842

TG

Mean ± SD

842

125.2 ± 90.9

842

DM

No

857

553 (64.5%)

553

DM

No

857

553 (64.5%)

553

Yes

304 (35.5%)

304

Yes

304 (35.5%)

304

HBP

No

857

356 (41.5%)

356

HBP

No

857

356 (41.5%)

356

Yes

501 (58.5%)

501

Yes

501 (58.5%)

501

smoking

Ex-smoker

857

204 (23.8%)

204

smoking

Ex-smoker

857

204 (23.8%)

204

Never

332 (38.7%)

332

Never

332 (38.7%)

332

Smoker

321 (37.5%)

321

Smoker

321 (37.5%)

321

diff --git a/articles/Survival.html b/articles/Survival.html index d103453..376f473 100644 --- a/articles/Survival.html +++ b/articles/Survival.html @@ -249,59 +249,59 @@

Cox-proportional hazard modelx=autoReg(fit,uni=TRUE,threshold=1) x %>% myft()

- - + +
- - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: Surv(time, status != 2)

all

HR (univariable)

HR (multivariable)

Dependent: Surv(time, status != 2)

all

HR (univariable)

HR (multivariable)

age

Mean ± SD

52.5 ± 16.7

1.03 (1.01-1.05, p<.001)

1.02 (1.01-1.04, p=.005)

age

Mean ± SD

52.5 ± 16.7

1.03 (1.01-1.05, p<.001)

1.02 (1.01-1.04, p=.005)

sex

Female

126 (61.5%)

sex

Female

126 (61.5%)

Male

79 (38.5%)

1.93 (1.21-3.07, p=.006)

1.51 (0.94-2.42, p=.085)

Male

79 (38.5%)

1.93 (1.21-3.07, p=.006)

1.51 (0.94-2.42, p=.085)

thickness

Mean ± SD

2.9 ± 3.0

1.16 (1.10-1.23, p<.001)

1.10 (1.03-1.18, p=.004)

thickness

Mean ± SD

2.9 ± 3.0

1.16 (1.10-1.23, p<.001)

1.10 (1.03-1.18, p=.004)

ulcer

Absent

115 (56.1%)

ulcer

Absent

115 (56.1%)

Present

90 (43.9%)

3.52 (2.14-5.80, p<.001)

2.59 (1.53-4.38, p<.001)

Present

90 (43.9%)

3.52 (2.14-5.80, p<.001)

2.59 (1.53-4.38, p<.001)

n=205, events=71, Likelihood ratio test=47.89 on 4 df(p<.001)

n=205, events=71, Likelihood ratio test=47.89 on 4 df(p<.001)

If you want, you can decorate your table as follows:

@@ -310,59 +310,59 @@

Cox-proportional hazard modelnames(x)[1]="Overall Survival" x %>% myft()

- - + +
- - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: Surv(time, status != 2)

all

HR (univariable)

HR (multivariable)

Dependent: Surv(time, status != 2)

all

HR (univariable)

HR (multivariable)

Age(years)

Mean ± SD

52.5 ± 16.7

1.03 (1.01-1.05, p<.001)

1.02 (1.01-1.04, p=.005)

Age(years)

Mean ± SD

52.5 ± 16.7

1.03 (1.01-1.05, p<.001)

1.02 (1.01-1.04, p=.005)

Sex

Female

126 (61.5%)

Sex

Female

126 (61.5%)

Male

79 (38.5%)

1.93 (1.21-3.07, p=.006)

1.51 (0.94-2.42, p=.085)

Male

79 (38.5%)

1.93 (1.21-3.07, p=.006)

1.51 (0.94-2.42, p=.085)

Tumor thickness (mm)

Mean ± SD

2.9 ± 3.0

1.16 (1.10-1.23, p<.001)

1.10 (1.03-1.18, p=.004)

Tumor thickness (mm)

Mean ± SD

2.9 ± 3.0

1.16 (1.10-1.23, p<.001)

1.10 (1.03-1.18, p=.004)

Ulceration

Absent

115 (56.1%)

Ulceration

Absent

115 (56.1%)

Present

90 (43.9%)

3.52 (2.14-5.80, p<.001)

2.59 (1.53-4.38, p<.001)

Present

90 (43.9%)

3.52 (2.14-5.80, p<.001)

2.59 (1.53-4.38, p<.001)

n=205, events=71, Likelihood ratio test=47.89 on 4 df(p<.001)

n=205, events=71, Likelihood ratio test=47.89 on 4 df(p<.001)

@@ -379,66 +379,66 @@

Hazard ratio plot : modelPlot()x=x %>% addFitSummary(final,statsname="HR (final)") x %>% myft()

- - + +
- - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - +

Dependent: Surv(time, status != 2)

all

HR (univariable)

HR (multivariable)

HR (final)

Dependent: Surv(time, status != 2)

all

HR (univariable)

HR (multivariable)

HR (final)

Age(years)

Mean ± SD

52.5 ± 16.7

1.03 (1.01-1.05, p<.001)

1.02 (1.01-1.04, p=.005)

1.02 (1.01-1.04, p=.003)

Age(years)

Mean ± SD

52.5 ± 16.7

1.03 (1.01-1.05, p<.001)

1.02 (1.01-1.04, p=.005)

1.02 (1.01-1.04, p=.003)

Sex

Female

126 (61.5%)

Sex

Female

126 (61.5%)

Male

79 (38.5%)

1.93 (1.21-3.07, p=.006)

1.51 (0.94-2.42, p=.085)

Male

79 (38.5%)

1.93 (1.21-3.07, p=.006)

1.51 (0.94-2.42, p=.085)

Tumor thickness (mm)

Mean ± SD

2.9 ± 3.0

1.16 (1.10-1.23, p<.001)

1.10 (1.03-1.18, p=.004)

1.10 (1.03-1.18, p=.003)

Tumor thickness (mm)

Mean ± SD

2.9 ± 3.0

1.16 (1.10-1.23, p<.001)

1.10 (1.03-1.18, p=.004)

1.10 (1.03-1.18, p=.003)

Ulceration

Absent

115 (56.1%)

Ulceration

Absent

115 (56.1%)

Present

90 (43.9%)

3.52 (2.14-5.80, p<.001)

2.59 (1.53-4.38, p<.001)

2.72 (1.61-4.57, p<.001)

Present

90 (43.9%)

3.52 (2.14-5.80, p<.001)

2.59 (1.53-4.38, p<.001)

2.72 (1.61-4.57, p<.001)

n=205, events=71, Likelihood ratio test=47.89 on 4 df(p<.001)

n=205, events=71, Likelihood ratio test=47.89 on 4 df(p<.001)

@@ -478,59 +478,59 @@

Disease-specific survivalfit=coxph(Surv(time,status==1)~age+sex+thickness+ulcer,data=melanoma) autoReg(fit,uni=TRUE,threshold=1) %>% myft()
- - + +
- - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - +

Dependent: Surv(time, status == 1)

all

HR (univariable)

HR (multivariable)

Dependent: Surv(time, status == 1)

all

HR (univariable)

HR (multivariable)

age

Mean ± SD

52.5 ± 16.7

1.02 (1.00-1.04, p=.028)

1.01 (1.00-1.03, p=.141)

age

Mean ± SD

52.5 ± 16.7

1.02 (1.00-1.04, p=.028)

1.01 (1.00-1.03, p=.141)

sex

Female

126 (61.5%)

sex

Female

126 (61.5%)

Male

79 (38.5%)

1.94 (1.15-3.26, p=.013)

1.54 (0.91-2.60, p=.106)

Male

79 (38.5%)

1.94 (1.15-3.26, p=.013)

1.54 (0.91-2.60, p=.106)

thickness

Mean ± SD

2.9 ± 3.0

1.17 (1.10-1.25, p<.001)

1.12 (1.04-1.20, p=.004)

thickness

Mean ± SD

2.9 ± 3.0

1.17 (1.10-1.25, p<.001)

1.12 (1.04-1.20, p=.004)

ulcer

Absent

115 (56.1%)

ulcer

Absent

115 (56.1%)

Present

90 (43.9%)

4.36 (2.44-7.77, p<.001)

3.20 (1.75-5.88, p<.001)

Present

90 (43.9%)

4.36 (2.44-7.77, p<.001)

3.20 (1.75-5.88, p<.001)

n=205, events=57, Likelihood ratio test=41.62 on 4 df(p<.001)

n=205, events=57, Likelihood ratio test=41.62 on 4 df(p<.001)

@@ -555,66 +555,66 @@

Competing risk regression addFitSummary(fit1,"HR (competing risks multivariable)") %>% myft()
- - + +
- - - - - + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - +

Dependent: Surv(time, status == 1)

all

HR (univariable)

HR (multivariable)

HR (competing risks multivariable)

Dependent: Surv(time, status == 1)

all

HR (univariable)

HR (multivariable)

HR (competing risks multivariable)

age

Mean ± SD

52.5 ± 16.7

1.02 (1.00-1.04, p=.028)

1.01 (1.00-1.03, p=.141)

1.01 (0.99-1.02, p=.520)

age

Mean ± SD

52.5 ± 16.7

1.02 (1.00-1.04, p=.028)

1.01 (1.00-1.03, p=.141)

1.01 (0.99-1.02, p=.520)

sex

Female

126 (61.5%)

sex

Female

126 (61.5%)

Male

79 (38.5%)

1.94 (1.15-3.26, p=.013)

1.54 (0.91-2.60, p=.106)

1.50 (0.87-2.57, p=.140)

Male

79 (38.5%)

1.94 (1.15-3.26, p=.013)

1.54 (0.91-2.60, p=.106)

1.50 (0.87-2.57, p=.140)

thickness

Mean ± SD

2.9 ± 3.0

1.17 (1.10-1.25, p<.001)

1.12 (1.04-1.20, p=.004)

1.09 (1.01-1.18, p=.019)

thickness

Mean ± SD

2.9 ± 3.0

1.17 (1.10-1.25, p<.001)

1.12 (1.04-1.20, p=.004)

1.09 (1.01-1.18, p=.019)

ulcer

Absent

115 (56.1%)

ulcer

Absent

115 (56.1%)

Present

90 (43.9%)

4.36 (2.44-7.77, p<.001)

3.20 (1.75-5.88, p<.001)

3.09 (1.71-5.60, p<.001)

Present

90 (43.9%)

4.36 (2.44-7.77, p<.001)

3.20 (1.75-5.88, p<.001)

3.09 (1.71-5.60, p<.001)

n=205, events=57, Likelihood ratio test=41.62 on 4 df(p<.001)

n=205, events=57, Likelihood ratio test=41.62 on 4 df(p<.001)

You can estimate cumulative incidence functions from competing risk @@ -697,46 +697,46 @@

1. Frailty survival model
 autoReg(fit) %>% myft()
- - + +
- - - + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - +

Dependent: Surv(futime, status)

all

HR (multivariable)

Dependent: Surv(futime, status)

all

HR (multivariable)

trt

Mean ± SD

0.5 ± 0.5

0.60 (0.39-0.94, p=.025)

trt

Mean ± SD

0.5 ± 0.5

0.60 (0.39-0.94, p=.025)

type

juvenile

228 (57.9%)

type

juvenile

228 (57.9%)

adult

166 (42.1%)

1.49 (0.89-2.47, p=.126)

adult

166 (42.1%)

1.49 (0.89-2.47, p=.126)

trt:type

juvenile

trt:type

juvenile

trt:type

adult

0.37 (0.18-0.76, p=.006)

trt:type

adult

0.37 (0.18-0.76, p=.006)

n=394, events=155, Likelihood ratio test=218.43 on 91.1321091975791 df(p<.001)
frailty(id) p=.010 Variance of random effect= 0.92598 I-likelihood = -847

n=394, events=155, Likelihood ratio test=218.43 on 91.1321091975791 df(p<.001)
frailty(id) p=.010 Variance of random effect= 0.92598 I-likelihood = -847

With above result, we can estimate the risk of blindness in each @@ -801,46 +801,46 @@

2. Marginal approach
 autoReg(fit) %>% myft()
- - + +
- - - + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - +

Dependent: Surv(futime, status)

all

HR (multivariable)

Dependent: Surv(futime, status)

all

HR (multivariable)

trt

Mean ± SD

0.5 ± 0.5

0.65 (0.45-0.94, p=.022)

trt

Mean ± SD

0.5 ± 0.5

0.65 (0.45-0.94, p=.022)

type

juvenile

228 (57.9%)

type

juvenile

228 (57.9%)

adult

166 (42.1%)

1.41 (0.96-2.06, p=.081)

adult

166 (42.1%)

1.41 (0.96-2.06, p=.081)

trt:type

juvenile

trt:type

juvenile

trt:type

adult

0.43 (0.24-0.78, p=.005)

trt:type

adult

0.43 (0.24-0.78, p=.005)

n=394, events=155, Likelihood ratio test=28.49 on 3 df(p<.001)
cluster=id

n=394, events=155, Likelihood ratio test=28.49 on 3 df(p<.001)
cluster=id

The result of marginal approach is similar to frailty approach. But diff --git a/pkgdown.yml b/pkgdown.yml index d10e666..113d9ae 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -7,7 +7,7 @@ articles: Getting_started: Getting_started.html Statiastical_test_in_gaze: Statiastical_test_in_gaze.html Survival: Survival.html -last_built: 2023-11-13T23:11Z +last_built: 2023-11-14T06:31Z urls: reference: https://cardiomoon.github.io/autoReg/reference article: https://cardiomoon.github.io/autoReg/articles diff --git a/reference/addFitSummary.html b/reference/addFitSummary.html index 0840ad1..083e3f3 100644 --- a/reference/addFitSummary.html +++ b/reference/addFitSummary.html @@ -100,7 +100,7 @@

Examplesdf=autoReg(fit,uni=FALSE) final=fit2final(fit) df %>% addFitSummary(final,statsname="HR (final)") %>% myft() -

Dependent: Surv(time, status)

all

HR (multivariable)

HR (final)

rx

Obs

624 (34.2%)

Lev

608 (33.4%)

0.94 (0.81-1.09, p=.409)

0.94 (0.80-1.09, p=.408)

Lev+5FU

590 (32.4%)

0.63 (0.54-0.75, p<.001)

0.64 (0.54-0.75, p<.001)

age

Mean ± SD

59.8 ± 11.9

1.00 (1.00-1.01, p=.571)

sex

Mean ± SD

0.5 ± 0.5

0.92 (0.81-1.05, p=.242)

nodes

Mean ± SD

3.7 ± 3.6

1.09 (1.08-1.10, p<.001)

1.09 (1.08-1.10, p<.001)

obstruct

Mean ± SD

0.2 ± 0.4

1.26 (1.07-1.48, p=.006)

1.27 (1.08-1.49, p=.003)

perfor

Mean ± SD

0.0 ± 0.2

1.26 (0.88-1.79, p=.210)

n=1822, events=897, Likelihood ratio test=178.71 on 7 df(p<.001)

+

Dependent: Surv(time, status)

all

HR (multivariable)

HR (final)

rx

Obs

624 (34.2%)

Lev

608 (33.4%)

0.94 (0.81-1.09, p=.409)

0.94 (0.80-1.09, p=.408)

Lev+5FU

590 (32.4%)

0.63 (0.54-0.75, p<.001)

0.64 (0.54-0.75, p<.001)

age

Mean ± SD

59.8 ± 11.9

1.00 (1.00-1.01, p=.571)

sex

Mean ± SD

0.5 ± 0.5

0.92 (0.81-1.05, p=.242)

nodes

Mean ± SD

3.7 ± 3.6

1.09 (1.08-1.10, p<.001)

1.09 (1.08-1.10, p<.001)

obstruct

Mean ± SD

0.2 ± 0.4

1.26 (1.07-1.48, p=.006)

1.27 (1.08-1.49, p=.003)

perfor

Mean ± SD

0.0 ± 0.2

1.26 (0.88-1.79, p=.210)

n=1822, events=897, Likelihood ratio test=178.71 on 7 df(p<.001)

diff --git a/reference/autoRegCox.html b/reference/autoRegCox.html index d404ed7..ac9545d 100644 --- a/reference/autoRegCox.html +++ b/reference/autoRegCox.html @@ -162,7 +162,7 @@

Examples#> ——————————————————————————————————————————————————————————————————————————————————————————————————————————— #> n=1822, events=897, Likelihood ratio test=178.71 on 7 df(p<.001) autoReg(fit,uni=TRUE,final=TRUE) %>% myft() -

Dependent: Surv(time, status)

all

HR (univariable)

HR (multivariable)

HR (final)

rx

Obs

624 (34.2%)

Lev

608 (33.4%)

0.98 (0.84-1.14, p=.786)

0.94 (0.80-1.09, p=.388)

0.94 (0.80-1.09, p=.408)

Lev+5FU

590 (32.4%)

0.64 (0.55-0.76, p<.001)

0.64 (0.54-0.75, p<.001)

0.64 (0.54-0.75, p<.001)

age

Mean ± SD

59.8 ± 11.9

1.00 (0.99-1.00, p=.382)

sex

Mean ± SD

0.5 ± 0.5

0.97 (0.85-1.10, p=.610)

nodes

Mean ± SD

3.7 ± 3.6

1.09 (1.08-1.10, p<.001)

1.09 (1.08-1.10, p<.001)

1.09 (1.08-1.10, p<.001)

obstruct

Mean ± SD

0.2 ± 0.4

1.27 (1.09-1.49, p=.003)

1.26 (1.07-1.48, p=.005)

1.27 (1.08-1.49, p=.003)

perfor

Mean ± SD

0.0 ± 0.2

1.30 (0.92-1.85, p=.142)

1.24 (0.87-1.77, p=.237)

n=1822, events=897, Likelihood ratio test=177 on 5 df(p<.001)

data(colon_s,package="finalfit") +

Dependent: Surv(time, status)

all

HR (univariable)

HR (multivariable)

HR (final)

rx

Obs

624 (34.2%)

Lev

608 (33.4%)

0.98 (0.84-1.14, p=.786)

0.94 (0.80-1.09, p=.388)

0.94 (0.80-1.09, p=.408)

Lev+5FU

590 (32.4%)

0.64 (0.55-0.76, p<.001)

0.64 (0.54-0.75, p<.001)

0.64 (0.54-0.75, p<.001)

age

Mean ± SD

59.8 ± 11.9

1.00 (0.99-1.00, p=.382)

sex

Mean ± SD

0.5 ± 0.5

0.97 (0.85-1.10, p=.610)

nodes

Mean ± SD

3.7 ± 3.6

1.09 (1.08-1.10, p<.001)

1.09 (1.08-1.10, p<.001)

1.09 (1.08-1.10, p<.001)

obstruct

Mean ± SD

0.2 ± 0.4

1.27 (1.09-1.49, p=.003)

1.26 (1.07-1.48, p=.005)

1.27 (1.08-1.49, p=.003)

perfor

Mean ± SD

0.0 ± 0.2

1.30 (0.92-1.85, p=.142)

1.24 (0.87-1.77, p=.237)

n=1822, events=897, Likelihood ratio test=177 on 5 df(p<.001)

data(colon_s,package="finalfit") fit=coxph(Surv(time,status)~age.factor+sex.factor+obstruct.factor+perfor.factor,data=colon_s) autoReg(fit,uni=TRUE,threshold=1) #> ————————————————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/reference/autoRegsurvreg.html b/reference/autoRegsurvreg.html index eeb0035..1750b94 100644 --- a/reference/autoRegsurvreg.html +++ b/reference/autoRegsurvreg.html @@ -169,7 +169,7 @@

Examples#> perfor Mean ± SD 0.0 ± 0.2 0.71 (0.45-1.10, p=.124) 0.76 (0.50-1.16, p=.196) #> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— autoReg(fit,uni=TRUE,final=TRUE) %>% myft() -

Dependent: Surv(time, status)

stats

ETR (univariable)

ETR (multivariable)

ETR (final)

rx

Obs

630 (33.9%)

Lev

620 (33.4%)

1.04 (0.86-1.25, p=.683)

1.10 (0.92-1.32, p=.304)

1.10 (0.91-1.31, p=.324)

Lev+5FU

608 (32.7%)

1.79 (1.46-2.20, p<.001)

1.78 (1.45-2.17, p<.001)

1.77 (1.45-2.17, p<.001)

age

Mean ± SD

59.8 ± 11.9

1.00 (1.00-1.01, p=.394)

sex

Mean ± SD

0.5 ± 0.5

1.03 (0.88-1.21, p=.701)

nodes

Mean ± SD

3.7 ± 3.6

0.89 (0.88-0.91, p<.001)

0.90 (0.88-0.91, p<.001)

0.90 (0.88-0.91, p<.001)

obstruct

Mean ± SD

0.2 ± 0.4

0.74 (0.61-0.90, p=.003)

0.77 (0.63-0.93, p=.007)

0.76 (0.62-0.92, p=.004)

perfor

Mean ± SD

0.0 ± 0.2

0.71 (0.45-1.10, p=.124)

0.76 (0.50-1.16, p=.196)

if (FALSE) { +

Dependent: Surv(time, status)

stats

ETR (univariable)

ETR (multivariable)

ETR (final)

rx

Obs

630 (33.9%)

Lev

620 (33.4%)

1.04 (0.86-1.25, p=.683)

1.10 (0.92-1.32, p=.304)

1.10 (0.91-1.31, p=.324)

Lev+5FU

608 (32.7%)

1.79 (1.46-2.20, p<.001)

1.78 (1.45-2.17, p<.001)

1.77 (1.45-2.17, p<.001)

age

Mean ± SD

59.8 ± 11.9

1.00 (1.00-1.01, p=.394)

sex

Mean ± SD

0.5 ± 0.5

1.03 (0.88-1.21, p=.701)

nodes

Mean ± SD

3.7 ± 3.6

0.89 (0.88-0.91, p<.001)

0.90 (0.88-0.91, p<.001)

0.90 (0.88-0.91, p<.001)

obstruct

Mean ± SD

0.2 ± 0.4

0.74 (0.61-0.90, p=.003)

0.77 (0.63-0.93, p=.007)

0.76 (0.62-0.92, p=.004)

perfor

Mean ± SD

0.0 ± 0.2

0.71 (0.45-1.10, p=.124)

0.76 (0.50-1.16, p=.196)

if (FALSE) { autoReg(fit,mode=2) autoReg(fit,uni=TRUE,threshold=1,,mode=2) autoReg(fit,uni=TRUE,final=TRUE,mode=2) diff --git a/reference/gaze.html b/reference/gaze.html index ca1fe2a..3817a0c 100644 --- a/reference/gaze.html +++ b/reference/gaze.html @@ -165,7 +165,7 @@

Examples#> Male 570 (66.5%) #> —————————————————————————————— gaze(sex~.,data=acs,digits=1,method=1,show.p=TRUE) %>% myft() -

name

levels

Female (N=287)

Male (N=570)

p

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

Yes

12 (4.2%)

40 (7%)

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

Radial

168 (58.5%)

377 (66.1%)

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

STEMI

84 (29.3%)

220 (38.6%)

Unstable Angina

153 (53.3%)

247 (43.3%)

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

obesity

No

194 (67.6%)

373 (65.4%)

.580

Yes

93 (32.4%)

197 (34.6%)

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

DM

No

173 (60.3%)

380 (66.7%)

.077

Yes

114 (39.7%)

190 (33.3%)

HBP

No

83 (28.9%)

273 (47.9%)

<.001

Yes

204 (71.1%)

297 (52.1%)

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

Never

209 (72.8%)

123 (21.6%)

Smoker

29 (10.1%)

292 (51.2%)

# \donttest{ +

name

levels

Female (N=287)

Male (N=570)

p

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

Yes

12 (4.2%)

40 (7%)

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

Radial

168 (58.5%)

377 (66.1%)

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

STEMI

84 (29.3%)

220 (38.6%)

Unstable Angina

153 (53.3%)

247 (43.3%)

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

obesity

No

194 (67.6%)

373 (65.4%)

.580

Yes

93 (32.4%)

197 (34.6%)

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

DM

No

173 (60.3%)

380 (66.7%)

.077

Yes

114 (39.7%)

190 (33.3%)

HBP

No

83 (28.9%)

273 (47.9%)

<.001

Yes

204 (71.1%)

297 (52.1%)

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

Never

209 (72.8%)

123 (21.6%)

Smoker

29 (10.1%)

292 (51.2%)

# \donttest{ gaze(sex~age+Dx,data=acs) #> ————————————————————————————————————————————————————————————————————— #> Dependent:sex levels Female Male p @@ -177,8 +177,8 @@

Examples#> Unstable Angina 153 (53.3%) 247 (43.3%) #> ————————————————————————————————————————————————————————————————————— gaze(EF~.,data=acs) %>% myft() -

name

levels

unit

value

age

[28,91]

Mean ± SD

63.3 ± 11.7

sex

Female (N=287)

Mean ± SD

56.3 ± 10.1

Male (N=570)

Mean ± SD

55.6 ± 9.4

cardiogenicShock

No (N=805)

Mean ± SD

56.1 ± 9.4

Yes (N=52)

Mean ± SD

50.2 ± 11.6

entry

Femoral (N=312)

Mean ± SD

54.5 ± 10.6

Radial (N=545)

Mean ± SD

56.6 ± 8.9

Dx

NSTEMI (N=153)

Mean ± SD

55.0 ± 9.3

STEMI (N=304)

Mean ± SD

52.4 ± 9.5

Unstable Angina (N=400)

Mean ± SD

59.2 ± 8.7

height

[130,185]

Mean ± SD

163.2 ± 9.1

weight

[30,112]

Mean ± SD

64.8 ± 11.4

BMI

[15.6,41.4]

Mean ± SD

24.3 ± 3.3

obesity

No (N=567)

Mean ± SD

55.2 ± 9.8

Yes (N=290)

Mean ± SD

57.0 ± 9.2

TC

[25,493]

Mean ± SD

185.2 ± 47.8

LDLC

[15,366]

Mean ± SD

116.6 ± 41.1

HDLC

[4,89]

Mean ± SD

38.2 ± 11.1

TG

[11,877]

Mean ± SD

125.2 ± 90.9

DM

No (N=553)

Mean ± SD

56.4 ± 8.9

Yes (N=304)

Mean ± SD

54.9 ± 10.7

HBP

No (N=356)

Mean ± SD

56.0 ± 9.6

Yes (N=501)

Mean ± SD

55.7 ± 9.7

smoking

Ex-smoker (N=204)

Mean ± SD

55.7 ± 9.1

Never (N=332)

Mean ± SD

56.0 ± 10.2

Smoker (N=321)

Mean ± SD

55.7 ± 9.4

gaze(sex+Dx~.,data=acs,show.p=TRUE) %>% myft() -

sex (N)

Female (N=287)

Male (N=570)

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

p

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

3 (2.9%)

37 (16.8%)

0 (0%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

.013

36 (35%)

88 (40%)

69 (27.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

67 (65%)

132 (60%)

178 (72.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

32 (31.1%)

66 (30%)

92 (37.2%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

gaze(sex+Dx~.,data=acs) +

name

levels

unit

value

age

[28,91]

Mean ± SD

63.3 ± 11.7

sex

Female (N=287)

Mean ± SD

56.3 ± 10.1

Male (N=570)

Mean ± SD

55.6 ± 9.4

cardiogenicShock

No (N=805)

Mean ± SD

56.1 ± 9.4

Yes (N=52)

Mean ± SD

50.2 ± 11.6

entry

Femoral (N=312)

Mean ± SD

54.5 ± 10.6

Radial (N=545)

Mean ± SD

56.6 ± 8.9

Dx

NSTEMI (N=153)

Mean ± SD

55.0 ± 9.3

STEMI (N=304)

Mean ± SD

52.4 ± 9.5

Unstable Angina (N=400)

Mean ± SD

59.2 ± 8.7

height

[130,185]

Mean ± SD

163.2 ± 9.1

weight

[30,112]

Mean ± SD

64.8 ± 11.4

BMI

[15.6,41.4]

Mean ± SD

24.3 ± 3.3

obesity

No (N=567)

Mean ± SD

55.2 ± 9.8

Yes (N=290)

Mean ± SD

57.0 ± 9.2

TC

[25,493]

Mean ± SD

185.2 ± 47.8

LDLC

[15,366]

Mean ± SD

116.6 ± 41.1

HDLC

[4,89]

Mean ± SD

38.2 ± 11.1

TG

[11,877]

Mean ± SD

125.2 ± 90.9

DM

No (N=553)

Mean ± SD

56.4 ± 8.9

Yes (N=304)

Mean ± SD

54.9 ± 10.7

HBP

No (N=356)

Mean ± SD

56.0 ± 9.6

Yes (N=501)

Mean ± SD

55.7 ± 9.7

smoking

Ex-smoker (N=204)

Mean ± SD

55.7 ± 9.1

Never (N=332)

Mean ± SD

56.0 ± 10.2

Smoker (N=321)

Mean ± SD

55.7 ± 9.4

gaze(sex+Dx~.,data=acs,show.p=TRUE) %>% myft() +

sex (N)

Female (N=287)

Male (N=570)

name

levels

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

p

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

p

age

Mean ± SD

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

.177

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

.133

cardiogenicShock

No

49 (98%)

73 (86.9%)

153 (100%)

<.001

100 (97.1%)

183 (83.2%)

247 (100%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

3 (2.9%)

37 (16.8%)

0 (0%)

entry

Femoral

22 (44%)

45 (53.6%)

52 (34%)

.013

36 (35%)

88 (40%)

69 (27.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

67 (65%)

132 (60%)

178 (72.1%)

EF

Mean ± SD

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

<.001

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

<.001

height

Mean ± SD

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

.002

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

.055

weight

Mean ± SD

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

.978

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

.479

BMI

Mean ± SD

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

.215

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

.205

obesity

No

35 (70%)

60 (71.4%)

99 (64.7%)

.528

71 (68.9%)

149 (67.7%)

153 (61.9%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

TC

Mean ± SD

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

.192

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

.036

LDLC

Mean ± SD

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

.088

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

.002

HDLC

Mean ± SD

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

.627

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

.655

TG

Mean ± SD

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

.316

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

<.001

DM

No

25 (50%)

54 (64.3%)

94 (61.4%)

.240

71 (68.9%)

154 (70%)

155 (62.8%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

32 (31.1%)

66 (30%)

92 (37.2%)

HBP

No

19 (38%)

28 (33.3%)

36 (23.5%)

.084

43 (41.7%)

122 (55.5%)

108 (43.7%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

smoking

Ex-smoker

8 (16%)

13 (15.5%)

28 (18.3%)

.184

34 (33%)

53 (24.1%)

68 (27.5%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

gaze(sex+Dx~.,data=acs) #> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— #> sex (N) Female (N=287) Male (N=570) #> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— @@ -209,7 +209,7 @@

Examples#> Smoker 5 (10%) 14 (16.7%) 10 (6.5%) 56 (54.4%) 127 (57.7%) 109 (44.1%) #> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— gaze(Dx+sex~cardiogenicShock,data=acs,show.p=TRUE) %>% myft() -

Dx (N)

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

name

levels

Female (N=50)

Male (N=103)

p

Female (N=84)

Male (N=220)

p

Female (N=153)

Male (N=247)

p

cardiogenicShock

No

49 (98%)

100 (97.1%)

1.000

73 (86.9%)

183 (83.2%)

.535

153 (100%)

247 (100%)

1.000

Yes

1 (2%)

3 (2.9%)

11 (13.1%)

37 (16.8%)

0 (0%)

0 (0%)

gaze(Dx+sex+HBP~cardiogenicShock,data=acs,show.p=TRUE) +

Dx (N)

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

name

levels

Female (N=50)

Male (N=103)

p

Female (N=84)

Male (N=220)

p

Female (N=153)

Male (N=247)

p

cardiogenicShock

No

49 (98%)

100 (97.1%)

1.000

73 (86.9%)

183 (83.2%)

.535

153 (100%)

247 (100%)

1.000

Yes

1 (2%)

3 (2.9%)

11 (13.1%)

37 (16.8%)

0 (0%)

0 (0%)

gaze(Dx+sex+HBP~cardiogenicShock,data=acs,show.p=TRUE) #> ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— #> Dx NSTEMI NSTEMI STEMI STEMI Unstable Angina Unstable Angina #> sex Female Male Female Male Female Male diff --git a/reference/modelsSummaryTable.html b/reference/modelsSummaryTable.html index 3257ba4..34ce0ad 100644 --- a/reference/modelsSummaryTable.html +++ b/reference/modelsSummaryTable.html @@ -90,7 +90,7 @@

Examplesfit3=coxph(Surv(time,status) ~rx*logWBC,data=anderson) fitlist=list(fit1,fit2,fit3) modelsSummaryTable(fitlist) -

Dependent: Surv(time, status), data=anderson

Model

coef

se(coef)

z

Pr(>|z|)

HR

lower

upper

Model 1

rx

1.572

0.412

3.812

<.001

4.817

2.147

10.809

Model 2

rx

1.386

0.425

3.263

.001

3.999

1.739

9.195

logWBC

1.691

0.336

5.034

<.001

5.424

2.808

10.478

Model 3

rx

2.375

1.705

1.393

.164

10.750

0.380

304.162

logWBC

1.872

0.451

4.148

<.001

6.504

2.685

15.755

rx:logWBC

-0.318

0.526

-0.604

.546

0.728

0.260

2.040

+

Dependent: Surv(time, status), data=anderson

Model

coef

se(coef)

z

Pr(>|z|)

HR

lower

upper

Model 1

rx

1.572

0.412

3.812

<.001

4.817

2.147

10.809

Model 2

rx

1.386

0.425

3.263

.001

3.999

1.739

9.195

logWBC

1.691

0.336

5.034

<.001

5.424

2.808

10.478

Model 3

rx

2.375

1.705

1.393

.164

10.750

0.380

304.162

logWBC

1.872

0.451

4.148

<.001

6.504

2.685

15.755

rx:logWBC

-0.318

0.526

-0.604

.546

0.728

0.260

2.040

diff --git a/reference/myft.html b/reference/myft.html index 4b0dcad..2e73bdf 100644 --- a/reference/myft.html +++ b/reference/myft.html @@ -101,17 +101,17 @@

Examples
data(acs,package="moonBook")
 library(dplyr)
 gaze(acs) %>% myft()
-

name

levels

stats

age

Mean ± SD

63.3 ± 11.7

sex

Female

287 (33.5%)

Male

570 (66.5%)

cardiogenicShock

No

805 (93.9%)

Yes

52 (6.1%)

entry

Femoral

312 (36.4%)

Radial

545 (63.6%)

Dx

NSTEMI

153 (17.9%)

STEMI

304 (35.5%)

Unstable Angina

400 (46.7%)

EF

Mean ± SD

55.8 ± 9.6

height

Mean ± SD

163.2 ± 9.1

weight

Mean ± SD

64.8 ± 11.4

BMI

Mean ± SD

24.3 ± 3.3

obesity

No

567 (66.2%)

Yes

290 (33.8%)

TC

Mean ± SD

185.2 ± 47.8

LDLC

Mean ± SD

116.6 ± 41.1

HDLC

Mean ± SD

38.2 ± 11.1

TG

Mean ± SD

125.2 ± 90.9

DM

No

553 (64.5%)

Yes

304 (35.5%)

HBP

No

356 (41.5%)

Yes

501 (58.5%)

smoking

Ex-smoker

204 (23.8%)

Never

332 (38.7%)

Smoker

321 (37.5%)

gaze(sex~.,acs) %>% myft() -

name

levels

Female (N=287)

Male (N=570)

p

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

Yes

12 (4.2%)

40 (7%)

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

Radial

168 (58.5%)

377 (66.1%)

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

STEMI

84 (29.3%)

220 (38.6%)

Unstable Angina

153 (53.3%)

247 (43.3%)

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

obesity

No

194 (67.6%)

373 (65.4%)

.580

Yes

93 (32.4%)

197 (34.6%)

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

DM

No

173 (60.3%)

380 (66.7%)

.077

Yes

114 (39.7%)

190 (33.3%)

HBP

No

83 (28.9%)

273 (47.9%)

<.001

Yes

204 (71.1%)

297 (52.1%)

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

Never

209 (72.8%)

123 (21.6%)

Smoker

29 (10.1%)

292 (51.2%)

fit=lm(mpg~hp*wt,data=mtcars) +

name

levels

stats

age

Mean ± SD

63.3 ± 11.7

sex

Female

287 (33.5%)

Male

570 (66.5%)

cardiogenicShock

No

805 (93.9%)

Yes

52 (6.1%)

entry

Femoral

312 (36.4%)

Radial

545 (63.6%)

Dx

NSTEMI

153 (17.9%)

STEMI

304 (35.5%)

Unstable Angina

400 (46.7%)

EF

Mean ± SD

55.8 ± 9.6

height

Mean ± SD

163.2 ± 9.1

weight

Mean ± SD

64.8 ± 11.4

BMI

Mean ± SD

24.3 ± 3.3

obesity

No

567 (66.2%)

Yes

290 (33.8%)

TC

Mean ± SD

185.2 ± 47.8

LDLC

Mean ± SD

116.6 ± 41.1

HDLC

Mean ± SD

38.2 ± 11.1

TG

Mean ± SD

125.2 ± 90.9

DM

No

553 (64.5%)

Yes

304 (35.5%)

HBP

No

356 (41.5%)

Yes

501 (58.5%)

smoking

Ex-smoker

204 (23.8%)

Never

332 (38.7%)

Smoker

321 (37.5%)

gaze(sex~.,acs) %>% myft() +

name

levels

Female (N=287)

Male (N=570)

p

age

Mean ± SD

68.7 ± 10.7

60.6 ± 11.2

<.001

cardiogenicShock

No

275 (95.8%)

530 (93%)

.136

Yes

12 (4.2%)

40 (7%)

entry

Femoral

119 (41.5%)

193 (33.9%)

.035

Radial

168 (58.5%)

377 (66.1%)

Dx

NSTEMI

50 (17.4%)

103 (18.1%)

.012

STEMI

84 (29.3%)

220 (38.6%)

Unstable Angina

153 (53.3%)

247 (43.3%)

EF

Mean ± SD

56.3 ± 10.1

55.6 ± 9.4

.387

height

Mean ± SD

153.8 ± 6.2

167.9 ± 6.1

<.001

weight

Mean ± SD

57.2 ± 9.3

68.7 ± 10.3

<.001

BMI

Mean ± SD

24.2 ± 3.6

24.3 ± 3.2

.611

obesity

No

194 (67.6%)

373 (65.4%)

.580

Yes

93 (32.4%)

197 (34.6%)

TC

Mean ± SD

188.9 ± 51.1

183.3 ± 45.9

.124

LDLC

Mean ± SD

117.8 ± 41.2

116.0 ± 41.1

.561

HDLC

Mean ± SD

39.0 ± 11.5

37.8 ± 10.9

.145

TG

Mean ± SD

119.9 ± 76.2

127.9 ± 97.3

.195

DM

No

173 (60.3%)

380 (66.7%)

.077

Yes

114 (39.7%)

190 (33.3%)

HBP

No

83 (28.9%)

273 (47.9%)

<.001

Yes

204 (71.1%)

297 (52.1%)

smoking

Ex-smoker

49 (17.1%)

155 (27.2%)

<.001

Never

209 (72.8%)

123 (21.6%)

Smoker

29 (10.1%)

292 (51.2%)

fit=lm(mpg~hp*wt,data=mtcars) gaze(fit) %>% myft() -

Estimate

Std. Error

t value

Pr(>|t|)

lower

upper

(Intercept)

49.808

3.605

13.816

<.001

42.424

57.193

hp

-0.120

0.025

-4.863

<.001

-0.171

-0.070

wt

-8.217

1.270

-6.471

<.001

-10.818

-5.616

hp:wt

0.028

0.007

3.753

<.001

0.013

0.043

Residual SE: 2.153 on 28 DF, Multiple R^2: 0.8848, Adjusted R^2: 0.8724
F-statistic: 71.66 on 3 and 28 DF, p-value: 2.981e-13

library(survival) +

Estimate

Std. Error

t value

Pr(>|t|)

lower

upper

(Intercept)

49.808

3.605

13.816

<.001

42.424

57.193

hp

-0.120

0.025

-4.863

<.001

-0.171

-0.070

wt

-8.217

1.270

-6.471

<.001

-10.818

-5.616

hp:wt

0.028

0.007

3.753

<.001

0.013

0.043

Residual SE: 2.153 on 28 DF, Multiple R^2: 0.8848, Adjusted R^2: 0.8724
F-statistic: 71.66 on 3 and 28 DF, p-value: 2.981e-13

library(survival) fit=coxph(Surv(time,status) ~rx,data=anderson1) gaze(fit) %>% myft() -

coef

se(coef)

z

Pr(>|z|)

HR

lower

upper

rxControl

1.572

0.412

3.812

<.001

4.817

2.147

10.809

n=42, events=30, Likelihood ratio test=16.35 on 1 df (p<.001)

# \donttest{ +

coef

se(coef)

z

Pr(>|z|)

HR

lower

upper

rxControl

1.572

0.412

3.812

<.001

4.817

2.147

10.809

n=42, events=30, Likelihood ratio test=16.35 on 1 df (p<.001)

# \donttest{ gaze(sex+Dx~.,data=acs,show.p=TRUE,show.total=TRUE,show.n=TRUE,shiw.missing=TRUE) %>% myft() -

sex (N)

Female (N=287)

Male (N=570)

name

levels

N

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

total (N=287)

p

N

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

total (N=570)

p

age

Mean ± SD

287

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

68.7 ± 10.7

.177

570

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

60.6 ± 11.2

.133

cardiogenicShock

No

287

49 (98%)

73 (86.9%)

153 (100%)

275 (95.8%)

<.001

570

100 (97.1%)

183 (83.2%)

247 (100%)

530 (93%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

12 (4.2%)

3 (2.9%)

37 (16.8%)

0 (0%)

40 (7%)

entry

Femoral

287

22 (44%)

45 (53.6%)

52 (34%)

119 (41.5%)

.013

570

36 (35%)

88 (40%)

69 (27.9%)

193 (33.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

168 (58.5%)

67 (65%)

132 (60%)

178 (72.1%)

377 (66.1%)

EF

Mean ± SD

240

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

56.3 ± 10.1

<.001

483

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

55.6 ± 9.4

<.001

height

Mean ± SD

255

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

153.8 ± 6.2

.002

509

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

167.9 ± 6.1

.055

weight

Mean ± SD

256

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

57.2 ± 9.3

.978

510

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

68.7 ± 10.3

.479

BMI

Mean ± SD

255

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

24.2 ± 3.6

.215

509

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

24.3 ± 3.2

.205

obesity

No

287

35 (70%)

60 (71.4%)

99 (64.7%)

194 (67.6%)

.528

570

71 (68.9%)

149 (67.7%)

153 (61.9%)

373 (65.4%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

93 (32.4%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

197 (34.6%)

TC

Mean ± SD

277

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

188.9 ± 51.1

.192

557

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

183.3 ± 45.9

.036

LDLC

Mean ± SD

276

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

117.8 ± 41.2

.088

557

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

116.0 ± 41.1

.002

HDLC

Mean ± SD

277

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

39.0 ± 11.5

.627

557

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

37.8 ± 10.9

.655

TG

Mean ± SD

280

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

119.9 ± 76.2

.316

562

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

127.9 ± 97.3

<.001

DM

No

287

25 (50%)

54 (64.3%)

94 (61.4%)

173 (60.3%)

.240

570

71 (68.9%)

154 (70%)

155 (62.8%)

380 (66.7%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

114 (39.7%)

32 (31.1%)

66 (30%)

92 (37.2%)

190 (33.3%)

HBP

No

287

19 (38%)

28 (33.3%)

36 (23.5%)

83 (28.9%)

.084

570

43 (41.7%)

122 (55.5%)

108 (43.7%)

273 (47.9%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

204 (71.1%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

297 (52.1%)

smoking

Ex-smoker

287

8 (16%)

13 (15.5%)

28 (18.3%)

49 (17.1%)

.184

570

34 (33%)

53 (24.1%)

68 (27.5%)

155 (27.2%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

209 (72.8%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

123 (21.6%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

29 (10.1%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

292 (51.2%)

gaze(Dx+sex~cardiogenicShock,data=acs,show.p=TRUE) %>% myft() -

Dx (N)

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

name

levels

Female (N=50)

Male (N=103)

p

Female (N=84)

Male (N=220)

p

Female (N=153)

Male (N=247)

p

cardiogenicShock

No

49 (98%)

100 (97.1%)

1.000

73 (86.9%)

183 (83.2%)

.535

153 (100%)

247 (100%)

1.000

Yes

1 (2%)

3 (2.9%)

11 (13.1%)

37 (16.8%)

0 (0%)

0 (0%)

gaze(Dx+sex+HBP~cardiogenicShock,data=acs,show.p=TRUE) %>% myft() -

Dx
sex
(N)

NSTEMI
Female
(N=50)

NSTEMI
Male
(N=103)

STEMI
Female
(N=84)

STEMI
Male
(N=220)

Unstable Angina
Female
(N=153)

Unstable Angina
Male
(N=247)

name

levels

No (N=19)

Yes (N=31)

p

No (N=43)

Yes (N=60)

p

No (N=28)

Yes (N=56)

p

No (N=122)

Yes (N=98)

p

No (N=36)

Yes (N=117)

p

No (N=108)

Yes (N=139)

p

cardiogenicShock

No

19 (100%)

30 (96.8%)

1.000

42 (97.7%)

58 (96.7%)

1.000

23 (82.1%)

50 (89.3%)

.567

106 (86.9%)

77 (78.6%)

.145

36 (100%)

117 (100%)

1.000

108 (100%)

139 (100%)

1.000

Yes

0 (0%)

1 (3.2%)

1 (2.3%)

2 (3.3%)

5 (17.9%)

6 (10.7%)

16 (13.1%)

21 (21.4%)

0 (0%)

0 (0%)

0 (0%)

0 (0%)

# } +

sex (N)

Female (N=287)

Male (N=570)

name

levels

N

NSTEMI (N=50)

STEMI (N=84)

Unstable Angina (N=153)

total (N=287)

p

N

NSTEMI (N=103)

STEMI (N=220)

Unstable Angina (N=247)

total (N=570)

p

age

Mean ± SD

287

70.9 ± 11.4

69.1 ± 10.4

67.7 ± 10.7

68.7 ± 10.7

.177

570

61.1 ± 11.6

59.4 ± 11.7

61.4 ± 10.6

60.6 ± 11.2

.133

cardiogenicShock

No

287

49 (98%)

73 (86.9%)

153 (100%)

275 (95.8%)

<.001

570

100 (97.1%)

183 (83.2%)

247 (100%)

530 (93%)

<.001

Yes

1 (2%)

11 (13.1%)

0 (0%)

12 (4.2%)

3 (2.9%)

37 (16.8%)

0 (0%)

40 (7%)

entry

Femoral

287

22 (44%)

45 (53.6%)

52 (34%)

119 (41.5%)

.013

570

36 (35%)

88 (40%)

69 (27.9%)

193 (33.9%)

.022

Radial

28 (56%)

39 (46.4%)

101 (66%)

168 (58.5%)

67 (65%)

132 (60%)

178 (72.1%)

377 (66.1%)

EF

Mean ± SD

240

54.8 ± 9.1

52.3 ± 10.9

59.4 ± 8.8

56.3 ± 10.1

<.001

483

55.1 ± 9.4

52.4 ± 8.9

59.1 ± 8.7

55.6 ± 9.4

<.001

height

Mean ± SD

255

154.2 ± 5.1

155.7 ± 5.4

152.6 ± 6.7

153.8 ± 6.2

.002

509

167.5 ± 5.7

168.7 ± 6.0

167.3 ± 6.4

167.9 ± 6.1

.055

weight

Mean ± SD

256

57.2 ± 10.3

57.4 ± 9.0

57.1 ± 9.1

57.2 ± 9.3

.978

510

67.5 ± 8.4

68.8 ± 10.9

69.0 ± 10.6

68.7 ± 10.3

.479

BMI

Mean ± SD

255

24.1 ± 4.3

23.6 ± 3.2

24.5 ± 3.5

24.2 ± 3.6

.215

509

24.1 ± 2.6

24.1 ± 3.4

24.6 ± 3.4

24.3 ± 3.2

.205

obesity

No

287

35 (70%)

60 (71.4%)

99 (64.7%)

194 (67.6%)

.528

570

71 (68.9%)

149 (67.7%)

153 (61.9%)

373 (65.4%)

.301

Yes

15 (30%)

24 (28.6%)

54 (35.3%)

93 (32.4%)

32 (31.1%)

71 (32.3%)

94 (38.1%)

197 (34.6%)

TC

Mean ± SD

277

196.3 ± 52.7

180.7 ± 45.7

191.1 ± 53.1

188.9 ± 51.1

.192

557

192.6 ± 54.3

184.1 ± 42.6

178.7 ± 44.6

183.3 ± 45.9

.036

LDLC

Mean ± SD

276

127.7 ± 39.5

111.0 ± 40.0

118.3 ± 41.8

117.8 ± 41.2

.088

557

125.4 ± 47.1

118.9 ± 39.1

109.5 ± 39.2

116.0 ± 41.1

.002

HDLC

Mean ± SD

277

40.1 ± 13.8

39.5 ± 11.2

38.5 ± 10.8

39.0 ± 11.5

.627

557

38.4 ± 10.9

38.1 ± 10.9

37.4 ± 10.9

37.8 ± 10.9

.655

TG

Mean ± SD

280

112.5 ± 51.1

112.3 ± 87.2

126.3 ± 76.0

119.9 ± 76.2

.316

562

138.0 ± 100.2

104.3 ± 65.5

144.3 ± 114.2

127.9 ± 97.3

<.001

DM

No

287

25 (50%)

54 (64.3%)

94 (61.4%)

173 (60.3%)

.240

570

71 (68.9%)

154 (70%)

155 (62.8%)

380 (66.7%)

.219

Yes

25 (50%)

30 (35.7%)

59 (38.6%)

114 (39.7%)

32 (31.1%)

66 (30%)

92 (37.2%)

190 (33.3%)

HBP

No

287

19 (38%)

28 (33.3%)

36 (23.5%)

83 (28.9%)

.084

570

43 (41.7%)

122 (55.5%)

108 (43.7%)

273 (47.9%)

.016

Yes

31 (62%)

56 (66.7%)

117 (76.5%)

204 (71.1%)

60 (58.3%)

98 (44.5%)

139 (56.3%)

297 (52.1%)

smoking

Ex-smoker

287

8 (16%)

13 (15.5%)

28 (18.3%)

49 (17.1%)

.184

570

34 (33%)

53 (24.1%)

68 (27.5%)

155 (27.2%)

.002

Never

37 (74%)

57 (67.9%)

115 (75.2%)

209 (72.8%)

13 (12.6%)

40 (18.2%)

70 (28.3%)

123 (21.6%)

Smoker

5 (10%)

14 (16.7%)

10 (6.5%)

29 (10.1%)

56 (54.4%)

127 (57.7%)

109 (44.1%)

292 (51.2%)

gaze(Dx+sex~cardiogenicShock,data=acs,show.p=TRUE) %>% myft() +

Dx (N)

NSTEMI (N=153)

STEMI (N=304)

Unstable Angina (N=400)

name

levels

Female (N=50)

Male (N=103)

p

Female (N=84)

Male (N=220)

p

Female (N=153)

Male (N=247)

p

cardiogenicShock

No

49 (98%)

100 (97.1%)

1.000

73 (86.9%)

183 (83.2%)

.535

153 (100%)

247 (100%)

1.000

Yes

1 (2%)

3 (2.9%)

11 (13.1%)

37 (16.8%)

0 (0%)

0 (0%)

gaze(Dx+sex+HBP~cardiogenicShock,data=acs,show.p=TRUE) %>% myft() +

Dx
sex
(N)

NSTEMI
Female
(N=50)

NSTEMI
Male
(N=103)

STEMI
Female
(N=84)

STEMI
Male
(N=220)

Unstable Angina
Female
(N=153)

Unstable Angina
Male
(N=247)

name

levels

No (N=19)

Yes (N=31)

p

No (N=43)

Yes (N=60)

p

No (N=28)

Yes (N=56)

p

No (N=122)

Yes (N=98)

p

No (N=36)

Yes (N=117)

p

No (N=108)

Yes (N=139)

p

cardiogenicShock

No

19 (100%)

30 (96.8%)

1.000

42 (97.7%)

58 (96.7%)

1.000

23 (82.1%)

50 (89.3%)

.567

106 (86.9%)

77 (78.6%)

.145

36 (100%)

117 (100%)

1.000

108 (100%)

139 (100%)

1.000

Yes

0 (0%)

1 (3.2%)

1 (2.3%)

2 (3.3%)

5 (17.9%)

6 (10.7%)

16 (13.1%)

21 (21.4%)

0 (0%)

0 (0%)

0 (0%)

0 (0%)

# }