# https://stackoverflow.com/questions/12088080/how-to-convert-integer-number-into-binary-vector
# https://stackoverflow.com/questions/54059917/generate-all-length-n-permutations-of-true-false
#......................
# get combination of T/F vectors
#......................
n <- 3
out <- list()
for(i in 0:(2^n-1)){
out <- append(out, list(binaryLogic::as.binary(i, n = n)))
}
priortab <- out %>%
do.call("rbind.data.frame", .) %>%
magrittr::set_colnames(c("rIFR", "rKnots", "rInfxn"))
priortab[nrow(priortab):1, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.