reverse_map_total_n: Reconstruct the input of a total-n mapper

View source: R/reverse-map-total-n.R

reverse_map_total_nR Documentation

Reconstruct the input of a total-n mapper

Description

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.

Usage

reverse_map_total_n(data)

Arguments

data

Data frame with the "scrutiny_map_total_n" class.

Value

A tibble with the reported columns, such as x1, x2, and n, one row per case.

Examples

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)

scrutiny documentation built on Nov. 11, 2026, 1:09 a.m.