the original input dataframe along with the elbow point indicator "elbow.point" with elbow point(s) marked with "*", "Diff" the difference curve, "Thres" the threshold.
Arguments
res
a dataframe with variables and observed frequency
S
numeric, determines how aggressive the elbow points on the curve to be called, smaller means more aggressive and larger means more conservative
auto.loose
if TRUE, will reduce `kneedle.S` in case no elbow point is found with the set `kneedle.S`
min.S
a numeric value determines the minimal value that `kneedle.S` will be loosed to.
loosing.factor
a numeric value range in (0,1), which `kneedle.S` is multiplied by to reduce itself.