View source: R/reverse-map-total-n.R
| reverse_map_total_n | R Documentation |
reverse_map_total_n() takes the output of a function made by
function_map_total_n() and reconstructs the reported columns of the
data frame it was called on. audit() builds on it for total-n output.
reverse_map_total_n(data)
data |
Data frame with the |
A tibble with the reported columns, such as x1, x2, and n,
one row per case.
df <- tibble::tribble(
~x1, ~x2, ~n,
3.43, 5.28, 90,
2.97, 4.42, 103
)
out <- grim_map_total_n(
df,
digits_x = 2,
items_averaged = 1,
data_type = "integer"
)
reverse_map_total_n(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.