Learn R Programming

MoNAn (version 1.1.0)

test_effect: 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, ...)

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.

Arguments

effectName

...

Examples

Run this code
# \donttest{
test_loop <- test_effect("loops")
# }

Run the code above in your browser using DataLab