路径模型和PLS[参考].pptVIP

  • 120
  • 0
  • 约1.72万字
  • 约 80页
  • 2020-11-02 发布于福建
  • 举报
例 ## example of PLS-PM in multi-block data analysis ## estimate a path model for the wine data set ## requires package FactoMineR library(FactoMineR) data(wine) SMELL - c(0,0,0,0) VIEW - c(1,0,0,0) SHAKE - c(1,1,0,0) TASTE - c(1,1,1,0) wine.mat - rbind(SMELL,VIEW,SHAKE,TASTE) wine.sets - list(3:7,8:10,11:20,21:29) wine.mods - rep(A,4) # using function plspm.fit (basic pls algorithm) res4 - plspm.fit(wine, wine.mat, wine.sets, wine.mods, scheme=centroid) plot(res4, what=all, arr.pos=.4, box.prop=.4, cex.txt=.8) ## End(Not run) * 精品PPT·可编辑借鉴 * 精品

文档评论(0)

1亿VIP精品文档

相关文档