example_gt <- load_example_gt("gen_tbl")
# Compute the KING-robust matrix
pairwise_king(example_gt, as_matrix = TRUE)
# Or return a tidy tibble
pairwise_king(example_gt, as_matrix = FALSE)
# Adjust block_size
pairwise_king(example_gt, block_size = 2)
Run the code above in your browser using DataLab