diff --git a/src/TR.jl b/src/TR.jl index 77fe209..bfea43d 100644 --- a/src/TR.jl +++ b/src/TR.jl @@ -211,7 +211,7 @@ end The function uses the output from TRLooCV to plot data, PRESS- and GCV-curves, as well as PRESS- and GCV-minimal regression coefficients. """ -function PlotTRLooCV(BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV) +function PlotTRLooCV(lambdas, BPRESS, BGCV, TR, press, GCV, idminPRESS, lambdaPRESS, idminGCV, lambdaGCV) plta = plot((TR.U * diagm(TR.s) * TR.V' .+ TR.mX)', legend=false)