test_effect: test_effect Test for each person in the example data and one...

View source: R/2x_effects_test.R

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


MoNAn documentation built on Sept. 12, 2024, 5:08 p.m.