+
+
+
Analysis results data for Fisher's Exact Test.
+Calculated with fisher.test(x = data[[variable]], y = data[[by]], ...)
+
+
+
+
Usage
+
ard_fishertest(data, by, variable, ...)
+
+
+
+
Arguments
+
- data
+(data.frame
)
+a data frame.
+
+
+- by, variable
+(tidy-select
)
+column names to compare
+
+
+- ...
+additional arguments passed to fisher.test(...)
+
+
+
+
Value
+
+
+
ARD data frame
+
+
+
+
Examples
+
cards::ADSL[1:30, ] |>
+ ard_fishertest(by = "ARM", variable = "AGEGR1")
+#> {cards} data frame: 12 x 9
+#> group1 variable context stat_name stat_label
+#> 1 ARM AGEGR1 fisherte… p.value p-value
+#> 2 ARM AGEGR1 fisherte… method method
+#> 3 ARM AGEGR1 fisherte… alternative alternat…
+#> 4 ARM AGEGR1 fisherte… workspace workspace
+#> 5 ARM AGEGR1 fisherte… hybrid hybrid
+#> 6 ARM AGEGR1 fisherte… hybridPars hybridPa…
+#> 7 ARM AGEGR1 fisherte… control control
+#> 8 ARM AGEGR1 fisherte… or or
+#> 9 ARM AGEGR1 fisherte… conf.int conf.int
+#> 10 ARM AGEGR1 fisherte… conf.level conf.lev…
+#> 11 ARM AGEGR1 fisherte… simulate.p.value simulate…
+#> 12 ARM AGEGR1 fisherte… B B
+#> statistic
+#> 1 0.089
+#> 2 Fisher's…
+#> 3 two.sided
+#> 4 2e+05
+#> 5 FALSE
+#> 6 c(expect = 5, percent = 80, Emin = 1)
+#> 7 list()
+#> 8 1
+#> 9 TRUE
+#> 10 0.95
+#> 11 FALSE
+#> 12 2000
+#> ℹ 3 more variables: statistic_fmt_fn, warning, error
+
+
+