# \donttest{
# Example 1 ----------------------------------
add_p_cross_ex1 <-
trial %>%
tbl_cross(row = stage, col = trt) %>%
add_p()
# Example 2 ----------------------------------
add_p_cross_ex2 <-
trial %>%
tbl_cross(row = stage, col = trt) %>%
add_p(source_note = TRUE)
# }
Run the code above in your browser using DataLab