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.

Description

test_effect

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

Usage

test_effect(effectName, ...)

Arguments

effectName
...

Value

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")


[Package MoNAn version 1.1.0 Index]