Compare data frame to target subtotals and calculate absolute error in a single data frame. Analogous to ip_miss. Primarily for use within other ipfitr functions to increase speed.

ip_miss_a(datatable, target_series, series_start = "value",
  series_target = "tar1", series_type = "tar")

Arguments

datatable

A data frame of values previously scaled to targets.

target_series

Subset of names(datatable) containing series with target subtotals.

series_start

The name of the series in datatable to be compared to the target.

series_target

The name of the target series.

Value

A summarized data frame with the same dimensionality as target, with a measurement of error.