test_effect {MoNAn} | R Documentation |
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, ...)
effectName |
|
... |
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.
test_loop <- test_effect("loops")