flag: Flag the unusual questions

Description Usage Arguments Value Author(s)

Description

Two methods are provided to detect the unusual questions. See method for details.

Usage

1
flag(set, value, method = "outlier", thres)

Arguments

set

a vector to identify the question set

value

a numeric vector, usually is the correct percentage.

method

"cluster" or "outlier". "cluster" uses hierarchical clustering method, and cut the tree by the parameter thres. "outlier" will mark the values which differ from any other values in the same set by thres.

thres

the threshold of the height of hclust.

Value

a vector of asterisks to mark the questions

Author(s)

Xiaoyue Cheng <xycheng@iastate.edu>


introstat/ePort documentation built on May 18, 2019, 5:47 a.m.