From dcda5b5b4b5e57cfb5ac57a726e4c71252236cad Mon Sep 17 00:00:00 2001 From: Eva Hamrud <50098063+evaham1@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:20:19 +1100 Subject: [PATCH] typo in example --- examples/tune.pls-examples.R | 2 +- man/tune.pls.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tune.pls-examples.R b/examples/tune.pls-examples.R index cb945cc0..bca5c900 100644 --- a/examples/tune.pls-examples.R +++ b/examples/tune.pls-examples.R @@ -26,4 +26,4 @@ design <- data.frame(sample = repeat.indiv) tune.res <- tune.pls(X, Y1, ncomp = 10, measure = "cor", multilevel = design, folds = 5, nrepeat = 3, progressBar = TRUE) -plot(tune) \ No newline at end of file +plot(tune.res) \ No newline at end of file diff --git a/man/tune.pls.Rd b/man/tune.pls.Rd index 18b20e75..866953f2 100644 --- a/man/tune.pls.Rd +++ b/man/tune.pls.Rd @@ -202,7 +202,7 @@ design <- data.frame(sample = repeat.indiv) tune.res <- tune.pls(X, Y1, ncomp = 10, measure = "cor", multilevel = design, folds = 5, nrepeat = 3, progressBar = TRUE) -plot(tune) +plot(tune.res) } \references{ mixOmics article: