test_effect function

test_effectTest for each person in the example data and one randomly selected alternative destination whether change and target statistics match.

test_effect

Test for each person in the example data and one randomly selected alternative destination whether change and target statistics match.

test_effect(effectName, ...)

Arguments

  • effectName:
  • ...:

Returns

A data frame containing for each person in the example data: Origin; Destination; Suggested destination; Change statistic; Target before change; Target after change; Whether this is an exact match; Whether this is a match rounded to 8 digits. In case the last column contains values that are not all "1", the tested function does not work properly.

Examples

test_loop <- test_effect("loops")
  • Maintainer: Per Block
  • License: GPL (>= 3)
  • Last published: 2024-09-12

Useful links