Hi,
Thank you for creating this amazing package. Hope you can resolve some issues with the multilevel design. I’ll take the vac18 data as an example because it outputs the same errors as when I am using my own data. Note: I was running the code step by step as it was shown on the mixomics website.
While using R version 4.2.1 I receive the following error for pca function:
pca.multilevel.vac18 ← pca(X, scale = TRUE, center = TRUE,
-
multilevel = design)
Error in pca(X, scale = TRUE, center = TRUE, multilevel = design) :
unused argument (multilevel = design)
I’ve changed R version to 4.3.0 and pca function was implemented with notification “Splitting the variation for 1 level factor”. However this time splsda function throws me an error:
final.splsda.multilevel.vac18 ← splsda(X, Y, ncomp=4,
-
keepX = c(65,15,70,50),
-
multilevel = design)
Error in rowSums(Y) : ‘x’ must be an array of at least two dimensions
Thank you so much. I would appreciate your valuable feedback.