楼主: 蛤蟆
2599 1

[实际应用] 求s-plus软件里面做脸谱图的教程 [推广有奖]

  • 0关注
  • 0粉丝

已卖:30份资源

本科生

97%

还不是VIP/贵宾

-

威望
0
论坛币
213 个
通用积分
0
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
1016 点
帖子
61
精华
0
在线时间
67 小时
注册时间
2006-12-17
最后登录
2022-5-22

楼主
蛤蟆 发表于 2014-5-27 15:41:49 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
下载了软件,不太会用,主要想用脸谱图,求教程,下载了王小亮(2005)版本,没看到关于脸谱图,也就是faces函数怎么用的,求助各位!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:S-Plus软件 PLUS 脸谱图 Plu faces 软件

沙发
shion92 发表于 2014-5-28 12:25:59
有不同样本的多个变量x1,x2,x3
faces(x[c("x1","x2","x3")])
或者直接用help()可以查到下面这个
faces(xy, which.row, fill = FALSE, face.type = 1, nrow.plot, ncol.plot,
    scale = TRUE, byrow = FALSE, main, labels, print.info = TRUE,
    na.rm = FALSE, ncolors = 20, col.nose = rainbow(ncolors),
    col.eyes = rainbow(ncolors, start = 0.6, end = 0.85),
    col.hair = terrain.colors(ncolors), col.face = heat.colors(ncolors),
    col.lips = rainbow(ncolors, start = 0, end = 0.2),
    col.ears = rainbow(ncolors, start = 0, end = 0.2), plot.faces = TRUE)
语句的解释

xy xy data matrix, rows represent individuals and columns variables

which.row defines a permutation of the rows of the input matrix

fill if(fill==TRUE), only the first nc attributes of the faces are transformed, nc is the number of columns of xy

face.type an integer between 0 and 2 with the meanings: 0 = line drawing faces, 1 = the elements of the faces are painted, 2 = Santa Claus faces are drawn

nrow.plot number of columns of faces on graphics device

ncol.plot number of rows of faces

scale if(scale==TRUE), variables will be normalized

byrow if(byrow==TRUE), xy will be transposed

main title

labels character strings to use as names for the faces

print.info if TRUE information about usage of variables for face elements are printed

na.rm if TRUE 'NA' values are removed otherwise exchanged by mean of data

plot.faces if FALSE no face is plotted

x an object of class faces computed by faces

x.pos x coordinates of positions of faces

y.pos y coordinates of positions of faces

width width of the faces

height height of the faces

ncolors number of colors in the palettes for painting the elements of the faces

col.nose palette of colors for painting the nose

col.eyes palette of colors for painting the eyes

col.hair palette of colors for painting the hair

col.face palette of colors for painting the face

col.lips palette of colors for painting the lips

col.ears palette of colors for painting the ears

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-7 23:44