Description Usage Arguments Value Examples
View source: R/map_precisely.R
map_precisely()
is a wrapper around tidyr::crossing()
and
purrr::pmap_dfr()
to give a set of values to any of the calculation
functions in precisely. All possible combinations of the values are passed to
the function, returning a tibble where each row is the result for each
combination.
1 | map_precisely(.f, ...)
|
.f |
a function in precisely |
... |
arguments passed to |
a tibble
1 2 3 4 5 6 7 | map_precisely(
n_risk_difference,
precision = seq(from = .02, to = .20, by = .005),
exposed = c(.2, .4),
unexposed = c(.1, .3),
group_ratio = 1
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.