plsmUtils(semPLS)
plsmUtils()所属R语言包:semPLS
Utility methods for plsm objects.
实用方法PLSM对象。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
By means of the utility methods pls model descrpitions inheriting from class plsm can easily be altered or investigated.
通过的实用方法PLS的模型descrpitions继承类plsm的,可以很容易地被改变或影响。
用法----------Usage----------
plsmEdit(model, ...)
## S3 method for class 'plsm'
plsmEdit(model, data, ...)
addLV(model, ...)
## S3 method for class 'plsm'
addLV(model, data, LV, mode, MVs, pred, succ, ...)
invertLVs(model, ...)
## S3 method for class 'plsm'
invertLVs(model, LVs, ...)
removeLVs(model, ...)
## S3 method for class 'plsm'
removeLVs(model, which, ...)
addMVs(model, ...)
## S3 method for class 'plsm'
addMVs(model, data, LV, MVs, ...)
removeMVs(model, ...)
## S3 method for class 'plsm'
removeMVs(model, MVs, ...)
addPath(model, ...)
## S3 method for class 'plsm'
addPath(model, from, to, ...)
removePath(model, ...)
## S3 method for class 'plsm'
removePath(model, from, to, ...)
exogenous(model)
endogenous(model)
reflective(model)
formative(model)
indicators(model, LV)
predecessors(model)
successors(model)
connected(model)
acyclic(model)
参数----------Arguments----------
参数:model
An object inheriting from class plsm as returned from plsm or read.splsm.
一个继承类的对象plsm返回plsm或read.splsm。
参数:data
A data.frame containing the observed variables (MVs). The storage mode for all the MVs included in the model must be numeric.
Adata.frame观测变量(MVS)。的存储模式必须包含在模型中所有的MVnumeric。
参数:LV
A character value naming an LV to add or the LV to associate with newly created MVs.
Acharacter的值命名添加一个LV的LV与新创建的MV。
参数:mode
A character value, specifying the measurement mode of the LV to add:
Acharacter值,LV添加指定的测量模式:
"A" for a reflective LV,
"A"反射LV,
"B" for a formative LV.
"B"的形成LV。
参数:MVs
A character vector naming MVs, which are either to be added, deleted or associated with a newly created LV. Note: the names of the MVs must exist as numeric variables in data.
Acharacter向量命名的MV,这是一个新创建的LV要添加,删除或相关。注意:使MV的名字必须存在作为numeric中的变量data。
参数:pred
A character vector naming the predecessors of an LV. If pred is NULL the LV is exogenous.
Acharacter向量,命名一个LV的前辈们。如果pred是NULLLV是外生的。
参数:succ
A character vector naming the successors of an LV.
Acharacter的向量命名一个LV的接班人。
参数:LVs
A character vector naming LVs to invert. Invert means to invert the direction of pathes of associated measurement models. This means changing reflective measurement to formative and vice versa.
Acharacter向量,命名LV的反转。反转反转方向相关的测量模型的运动轨迹。这意味着改变反射测量形成的,反之亦然。
参数:which
A character vector naming LVs to delete.
Acharacter向量命名的LV删除。
参数:from
A character vector naming predecessors of LVs specified in to.
Acharacter向量命名的前辈在to指定LVS的。
参数:to
A character vector naming successors of LVs specified in from.
Acharacter向量命名在fromLV的指定接班人。
参数:...
Currently unused.
目前未使用。
Details
详细信息----------Details----------
exogenous returns the exogenous latent variables contained in a path model.
exogenous返回的路径模型中的外源潜变量。
endogenous returns the endogenous latent variables contained in a path model.
endogenous返回的路径模型中的内生潜变量。
reflective returns the reflectively measured latent variables contained in a path model.
reflective返回沉思测量的潜变量中包含的路径模型。
formative returns the formatively measured latent variables contained in a path model.
formative返回的路径模型中形成的测量的潜变量。
indicators returns the index or observed variables related to the given latent variable.
indicators返回索引或给定的潜变量的观测变量。
predecessors returns a list with the names of predecessors for each latent variable.
predecessors返回一个列表,每个潜变量的前辈的名字。
successors returns a list with the names of successors for each latent variable.
successors返回一个列表,每个潜变量的继任者的名字。
connected returns TRUE if the inner model is a connected graph.
connected回报TRUE如果内部模型是一个连通图。
acyclic returns TRUE if the inner model is recursive, thus represented by an acyclic graph.
acyclic返回TRUE如果内部模型是递归的,因此由无环图表示。
值----------Value----------
All utility methods return an object of class plsm.
所有的实用方法返回一个对象的类plsm。
(作者)----------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----------
plsm, read.splsm
plsm,read.splsm
实例----------Examples----------
data(mobi)
data(ECSIsm)
data(ECSImm)
ECSI <- plsm(data=mobi, strucmod=ECSIsm, measuremod=ECSImm)
### Some sense free examples[##从某种意义上说例子]
# Print the block of MVs associated with "Expectation".[与“期待”的MV打印块。]
ECSI[["blocks"]]["Expectation"]
# Change measurement model for "Expectation" from reflective to[由反射到改变测量模式为“期待”]
# formative and print its block MVs[形成和打印的块的MV]
invertLVs(model=ECSI, LVs=c("Expectation"))[["blocks"]]["Expectation"]
# Print the adjacency matrix for the inner model.[打印内部模型的邻接矩阵。]
ECSI[["D"]]
# Add an additional path from "Quality" to "Loyalty" and[添加一个额外的路径从“质量”,“忠诚”]
# print the resulting adjacency matrix.[打印结果的邻接矩阵。]
addPath(model=ECSI, from="Quality", to="Loyalty")[["D"]]
# Remove the path previously added.[删除先前添加的路径。]
removePath(model=ECSI, from="Image", to=c("Satisfaction", "Loyalty"))[["D"]]
# Print all MVs used in the model[在模型中使用打印所有的MV]
ECSI$manifest
# Remove some MVs and print the MVs used in the model[删除了一些MV和打印在模型中使用的MV]
removeMVs(model=ECSI, MVs=c("IMAG3", "CUEX1", "PERQ7"))$manifest
### some handy functions[##的一些方便的功能]
exogenous(ECSI)
endogenous(ECSI)
reflective(ECSI)
formative(ECSI)
indicators(ECSI, "Image")
predecessors(ECSI)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|