diff --git a/src/TR.jl b/src/TR.jl index bfea43d..6a321a3 100644 --- a/src/TR.jl +++ b/src/TR.jl @@ -206,9 +206,9 @@ end """ - function PlotTRLooCV(BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV) + function PlotTRLooCV(lambdas, BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV) -The function uses the output from TRLooCV to plot data, PRESS- and GCV-curves, as well as +The function uses lambdas (vector) + the output from TRLooCV to plot data, PRESS- and GCV-curves, as well as PRESS- and GCV-minimal regression coefficients. """ function PlotTRLooCV(lambdas, BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV)