找回密码
 注册
查看: 375|回复: 0

R语言 semPLS包 plsm()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 00:43:22 | 显示全部楼层 |阅读模式
plsm(semPLS)
plsm()所属R语言包:semPLS

                                         Specification of Path Model
                                         路径模型规范

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Creates the specification of a path model used by sempls. The structural and the measurement must be specified in .csv files. The paths must be entered in the form of a from-to matrix. The variable in the first column represents the source and the second column represents the target of each path.
建立规范的路径模型使用sempls。必须指定。csv文件的结构和测量。的路径必须输入一个从以矩阵的形式。在第一列中的变量表示的源和第二列表示的各路径的目标。


用法----------Usage----------


plsm(data, strucmod, measuremod, order=c("generic",
     "alphabetical"), interactive=FALSE)

mvplot(model, ...)
## S3 method for class 'plsm'
mvplot(model, data, LVs, ask=TRUE, ...)

mvpairs(model, ...)
## S3 method for class 'plsm'
mvpairs(model, data, LVs, ask=TRUE, ...)



参数----------Arguments----------

参数:data
A data.frame intendend to use for the fitting method, sempls.  
“Adata.frameintendend到使用的拟合方法,sempls。


参数:strucmod
Either a from-to-matrix representing the inner/structural model or the path to an .csv file representing the inner/structural model.  
无论是从对矩阵内/结构模型的路径。csv文件内/结构模型。


参数:measuremod
Either from-to-matrix representing the outer/measurement models or the path to an .csv file representing the outer/measurement models.  
无论是从对的矩阵外/计量模型或代表外/计量模型。csv文件的路径。


参数:order
A character describing how to order the latent variables (LVs). If   
Acharacter如何订购潜变量(LVS)。如果

"generic" the LVs will be ordered according to their appearance in the causal chain of the structural model (default).  
"generic"的LV将被责令其外观的因果链的结构模型(默认)。

"alphabetical" the LVs will be ordered alphabetically.  
"alphabetical"的LV将按照字母顺序排列。


参数:interactive
Logical indicating whether to specify the model interactively using edit. The default is FALSE  
逻辑表示是否指定模型交互使用edit。默认的是FALSE


参数:model
An object of class plsm.  
对象的类plsm。


参数:LVs
A character vector naming the blocks of LVs for which to create the plots.  
Acharacter矢量块的LV的命名创建的图。


参数:ask
See ?par  
见?par


参数:...
Arguments to pass down to other methods, e.g., par.  
参数通过其他方法,例如,par。


值----------Value----------

The object returned is of class plsm with the elements:
返回的对象是类plsm的元素:


参数:latent
A character vector naming the latent variables.  
Acharacter命名的潜变量的矢量。


参数:manifest
A character vector naming the manifest variables.  
Acharacter命名的列表变量的向量。


参数:strucmod
Contains only the subset of path representing the structural model.  
path代表的结构模型只包含的子集。


参数:measuremod
Contains only the subset of path representing the measurement model.  
包含path的测量模型的子集。


参数:D
The adjacency matrix \bm{D} for the structural model.  
邻接矩阵\bm{D}的结构模型。


参数:M
The adjacency matrix \bm{M} for the measurement model.  
邻接矩阵\bm{M}的测量模型。


参数:blocks
A list naming the MVs belonging to each LV's block and telling their measurement mode.  
Alist命名的MV属于每一个LV的块,并告诉他们的测量模式。


参数:order
See armguments section.  
请参阅armguments部分。


(作者)----------Author(s)----------



Armin Monecke <a href="mailto:armin.monecke@stat.uni-muenchen.de">armin.monecke@stat.uni-muenchen.de</a>




参考文献----------References----------

Modeling Using Partial Least Squares. Journal of Statistical Software, 48(3), 1-32., URL http://jstatsoft.org/v48/i03/.

参见----------See Also----------

sempls, read.splsm
sempls,read.splsm


实例----------Examples----------


# getting the path to the .csv file representing the inner Model[获得内部模型。csv文件的路径]
ptf_Struc <- system.file("ECSIstrucmod.csv", package="semPLS")

# getting the path to the .csv file representing the outer Models[得到的路径。csv文件外模型]
ptf_Meas <- system.file("ECSImeasuremod.csv", package="semPLS")


sm <- as.matrix(read.csv(ptf_Struc))
mm <- as.matrix(read.csv(ptf_Meas))
data(mobi)

ECSI <- plsm(data=mobi, strucmod=sm, measuremod=mm)

# Adjacency matrix of the structural model[邻接矩阵的结构模型]
ECSI$D

# Adjacency matrix of the measurement model[邻接矩阵测量模型]
ECSI$M

# return all elements[返回的所有元素]
ECSI

### Interactive mode[##互动模式]
## Not run: [#不运行:]
# specify model in a spreadsheets[指定在电子表格模型]
ECSI <- plsm(data=mobi, interactive=TRUE)
ECSI

## End(Not run)[#(不执行)]

### explore blocks of MVs[##探索块的MV]
mvplot(model=ECSI, data=mobi, LVs="Expectation")
mvpairs(model=ECSI, data=mobi, LVs="Expectation")

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-19 05:10 , Processed in 0.035297 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表