stopfun_mantelhaenszel: Returns a function that can be used for the stopfun argument...

Description Usage Arguments Value

View source: R/stopFun_mantelhaenszel.R

Description

Returns a function that can be used for the stopfun argument in the Raschtree. The stopping function returns a logical indicating whether all items are classified as the stopping criterion in the tree growing process It uses the calculate_mantelhaenszel function for the Mantel-Haenszel effect size measure and classification

Usage

1
stopfun_mantelhaenszel(purification, stopcrit = c("A"))

Arguments

purification

A character indicating the type of purification should be used? Options "none", "2step", "iterative"

stopcrit

A character indicating when the Raschtree should be stopped. Default is "A", hence the Raschtree is stopped when all items fall into category "A" of the ETS classification scheme. When c("A", "B"), the Raschtree is stopped when all items fall in either category "A" or "B".

Value

A function that can be used for the stopfun argument in the Raschtree


mirka-henninger/raschTreeEffectSize documentation built on Nov. 14, 2021, 11:15 p.m.