Arguments
- dfAnalyzed
data.frame
where flags should be added.- strColumn
character
Name of the column to use for thresholding. Default:"Score"
- vThreshold
numeric
Vector of numeric values representing threshold values. Default isc(-3,-2,2,3)
which is typical for z-scores.- vFlag
numeric
Vector of flag values. There must be one more item in Flag than thresholds - that islength(vThreshold)+1 == length(vFlagValues)
. Default isc(-2,-1,0,1,2)
, which is typical for z-scores.- vFlagOrder
numeric
Vector of ordered flag values. Output data.frame will be sorted based on flag column using the order provided. NULL (or values that don't match vFlag) will leave the data unsorted. Must have identical values to vFlag. Default isc(2,-2,1,-1,0)
which puts largest z-score outliers first in the data set.
Details
Alias for Flag()