This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
walk_source <- function( | |
file = NULL, | |
delay = 1.5, | |
clear_each_cmd = TRUE, | |
wait_for_press = TRUE, | |
style = styler::tidyverse_style, | |
record_screen = TRUE, | |
... | |
) { | |
if (record_screen) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Performs MCMC P-value calculation for 0-1 tables | |
## from Darwin's Finch data | |
set.seed(1) | |
I = 7; J = 5 | |
testDat = matrix(sample(0:1, I * J, replace= TRUE), I, J) | |
A = matrix(c( | |
0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, |