View source: R/elbowDetection.R
kneedle | R Documentation |
An internal function utilized by VSOLassoBag.
kneedle(res, S = 10, auto.loose = TRUE, min.S = 0.1, loosing.factor = 0.5)
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. |
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.
Original Kneedle Algorithm, the algorithm utilized in LassoBag has been modified.
load(system.file("extdata/Results.RData", package="VSOLassoBag"))
kneedle(Results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.