## Not run:
# ## example of PLSCA with the vehicles dataset
# data(vehicles)
#
# # apply plsca
# my_plsca = plsca(vehicles[,1:12], vehicles[,13:16])
# my_plsca
#
# # plot variables
# plot(my_plsca)
# ## End(Not run)
Run the code above in your browser using DataCamp Workspace