Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 TramineR 的新手,seqdplot()我使用命令创建了一个图来可视化集群模式。有没有办法绘制每个集群的比例(如下图所示)?
seqdplot()
要显示比例,可以使用 的group.p功能TraMineRextras。该函数将比例添加到每个组标签。
group.p
TraMineRextras
这是帮助页面中给出的示例:
library('TraMineRextras') data(actcal) actcal <- actcal[1:100,] actcal.seq <- seqdef(actcal[,13:24]) seqdplot(actcal.seq, group=group.p(actcal$sex))