two.b.pls(A1, A2, warpgrids = TRUE, iter = 999, verbose = FALSE,
label = NULL, ShowPlot = TRUE)
gpagen
]. If other variables are used, they must be input as a 2-Dimensional matrix (rows = specimens, columns = variables).
A plot of PLS scores from Block1 versus Block2 is provided for the first set of PLS axes. Thin-plate spline
deformation grids along these axes are also shown (if data were input as a 3D array).data(plethShapeFood)
Y.gpa<-gpagen(plethShapeFood$land) #GPA-alignment
#2B-PLS between head shape and food use data
two.b.pls(Y.gpa$coords,plethShapeFood$food,iter=99)
Run the code above in your browser using DataLab