The export function will make it easier to convert the results of your scan analyses into tables and descriptions you can add to your documents and presentations. Basically, export takes a scan object and converts it to an html-table or latex output.
Note
export it build on top of the knitr and kableextra packages. The list provided in the kable_options argument is implemented in the kable function of knitr and the list provided to the kable_styling_options is implemented in the kable_styling command of the kableExtra package. export sets some defaults for these functions but you can play around and overwrite them.
export works best when used within an rmarkdown file and/or within RStudio.
In RStudio
n = Number of measurements; Missing = Number of missing values; M = Mean; Median = Median; SD = Standard deviation; MAD = Median average deviation; Min = Minimum; Max = Maximum; Trend = Slope of dependent variable regressed on measurement-time.
14.3 Standardized mean differences
The smd export function call
export(object, caption = NA, footnote = NA, filename = NA, select = c(“Case”, Mean A = “mA”, Mean B = “mB”, SD A = “sdA”, SD B = “sdB”, SD Cohen = “sd cohen”, SD Hedges = “sd hedges”, “Glass’ delta”, “Hedges’ g”, “Hedges’ g correction”, “Hedges’ g durlak correction”, “Cohen’s d”), kable_styling_options = list(), kable_options = list(), round = 2, flip = FALSE, …)
smd(exampleAB) |>export(flip =TRUE)
Standardizes mean differences. Comparing phase 1 against phase 2
Johanna
Karolina
Anja
Mean A
54.60
51.80
53.60
Mean B
74.13
73.47
74.07
SD A
2.41
6.83
3.05
SD B
8.94
9.76
7.57
SD Cohen
6.55
8.43
5.77
SD Hedges
7.97
9.19
6.83
Glass' delta
8.11
3.17
6.71
Hedges' g
2.45
2.36
3.00
Hedges' g correction
2.35
2.26
2.87
Hedges' g durlak correction
2.23
2.14
2.72
Cohen's d
2.98
2.57
3.55
Note:
SD Cohen = unweigted average of the variance of both phases; SD Hedges = weighted average of the variance of both phases with a degrees of freedom correction; Glass' delta = mean difference divided by the standard deviation of the A-phase; Hedges' g = mean difference divided by SD Hedges; Hedges' g (durlak) correction = approaches for correcting Hedges' g for small sample sizes; Cohens d = mean difference divided by SD Cohen.
exampleA1B1A2B2_zvt %>%select_phases(A =c(1,3), B =c(2,4)) %>%overlap() %>%export(flip =TRUE)
Overlap indices. Comparing phase 1 against phase 2
Tick
Trick
Track
Design
A-B
A-B
A-B
PND
16.67
0.00
16.67
PEM
66.67
50.00
50.00
PET
66.67
33.33
33.33
NAP
68.06
51.39
58.33
NAP-R
36.11
2.78
16.67
PAND
66.67
50.00
54.17
Tau-U
0.14
0.03
-0.03
Base Tau
0.27
-0.25
0.13
Delta M
5.50
3.17
0.83
Delta Trend
-0.31
-1.10
-0.74
SMD
0.52
0.40
0.26
Hedges g
0.56
0.50
0.26
Note:
PND = Percentage Non-Overlapping Data; PEM = Percentage Exceeding the Median; PET = Percentage Exceeding the Trend; NAP = Nonoverlap of all pairs; NAP-R = NAP rescaled; PAND = Percentage all nonoverlapping data;Tau U = Parker's Tau-U; Base Tau = Baseline corrected Tau; Delta M = Mean difference between phases; Delta Trend = Trend difference between phases; SMD = Standardized Mean Difference; Hedges g = Corrected SMD.