我想知道是否可以将ytlab
in旋转seqIplot
in TraMineR
。当我尝试使用row.names
序列时,我也会收到一条警告消息。
数据 :
mc = structure(c(1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 0, 0, 0,
0, 0, 0, 0, 2, 1, 2, 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 0, 0, 0, 0,
0, 0, 1, 1, 1, 2, 1, 1, 0, 0, 0, 0), .Dim = c(10L, 5L), .Dimnames = list(
c("d Travel/Commute", "j Care for others", "r Religious",
"u Others", "e Cooking", "f Housework", "h Eating", "l Leisure",
"t TV/Radio", "o Telephone/Online Communication"), c("V1",
"V2", "V3", "V4", "V5")))
序列
sq = seqdef(mc, cpal = heat.colors(3))
这Iplot
seqIplot(sq, border = NA, ytlab = attributes(sq)$row.names, las = 2)
这个las = 2
论点显然是行不通的。