# get_div <- function(x, u, t) {
# x <- x[x > 0]
# size <- floor(seq(1, t, length.out = min(t, 20)))
# tibble::tibble(q = 0:2) %>%
# mutate(
# qD = 0:2 %>% purrr::map(get_qD, x, u, t),
# m = 0:2 %>% purrr::map(~(c(size, size + t)))
# )
# }
get_div <- function(x, u, t) {
x <- x[x > 0]
tibble::tibble(q = 0:2) %>%
mutate(qD = 0:2 %>% purrr::map(get_qD, x, u, t))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.