smacofRect(smacof)
smacofRect()所属R语言包:smacof
Rectangular smacof
矩形smacof
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Variant of smacof for rectangular matrices (typically ratings, preferences) which is also known as metric unfolding.
的变种smacof长方矩阵(通常是收视率,喜好),也被称为公制展开。
用法----------Usage----------
smacofRect(delta, ndim = 2, weightmat = NULL, init = NULL, verbose = FALSE,
itmax = 1000, reg = 1e-6, eps = 1e-6)
参数----------Arguments----------
参数:delta
Data frame or matrix of preferences, ratings, dissimilarities.
数据框或矩阵的喜好,收视率,不同之处。
参数:ndim
Number of dimensions
的维数
参数:weightmat
Optional matrix with dissimilarity weights
可选相异的权重矩阵
参数:init
Matrix with starting values for configurations (optional)
矩阵的初始值配置(可选)
参数:verbose
If TRUE, intermediate stress is printed out
如果TRUE,中间主应力打印出来
参数:itmax
Maximum number of iterations
最大迭代次数
参数:reg
Regularization factor, prevents distances from being 0
正则化因子,防止距离为0
参数:eps
Convergence criterion
收敛准则
Details
详细信息----------Details----------
Creates an object of class smacofR.
创建对象类smacofR。
值----------Value----------
参数:obsdiss
Observed dissimilarities, corresponds to delta
观察到的不同点,对应于Delta
参数:confdiss
Configuration dissimilarities
配置异同
参数:conf.row
Matrix of final row configurations
矩阵的最后一行的配置
参数:conf.col
Matrix of final column configurations
矩阵的最后一列配置
参数:stress
Final stress value
最终应力值
参数:spp.row
Stress per point, rows
每点行压力
参数:spp.col
Stress per point, columns
每点应力,列
参数:ndim
Number of dimensions
的维数
参数:model
Type of smacof model
smacof模型的类型
参数:niter
Number of iterations
迭代次数。
参数:nind
Number of individuals (rows)
数个人(行)
参数:nobj
Number of objects (columns)
的对象的数量(列)
(作者)----------Author(s)----------
Jan de Leeuw and Patrick Mair
参考文献----------References----------
The R package smacof. Journal of Statistical Software, 31(3), 1-30, http://www.jstatsoft.org/v31/i03/
参见----------See Also----------
smacofConstraint, smacofSym, smacofIndDiff, smacofSphere.primal, smacofSphere.dual, plot.smacof
smacofConstraint,smacofSym,smacofIndDiff,smacofSphere.primal,smacofSphere.dual,plot.smacof
实例----------Examples----------
data(breakfast)
res <- smacofRect(breakfast)
res
summary(res)
## various configuration plots[#各种配置图]
plot(res)
plot(res, type = "p", pch = 25)
plot(res, type = "p", pch = 25, col.columns = 3, label.conf.columns = list(label = TRUE, pos = 3, col = 3), col.rows = 8, label.conf.rows = list(label = TRUE, pos = 3, col = 8))
plot(res, joint = TRUE)
plot(res, joint = TRUE, type = "p", pch = 25, col.columns = 4, label.conf.columns = list(label = TRUE, pos = 3, col = 4), col.rows = 8, label.conf.rows = list(label = TRUE, pos = 3, col = 8))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|