Arguments
- dfAnalyzed
data.framewhere flags should be added.- strColumn
characterName of the column to use for thresholding. Default:"Score"- vThreshold
numericVector of numeric values representing threshold values. Default isc(-3,-2,2,3)which is typical for z-scores.- vFlag
numericVector 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
numericVector 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()