[Traminer-users] seqmtplot()

Karina Videgain karvidegain at hotmail.com
Mon Aug 13 22:51:38 CEST 2018


I want to plot the mean time as distribution of the average number of years in each state by patways group (cluster) in the same graph/image. I can't find the way to do it with seqmeant. I'm trying with barplot but the output is not good enough.


example:
table1 <- seqmeant(seq[data$cluster==1, ], weighted=FALSE, prop=FALSE, serr=FALSE)
table2 <- seqmeant(seq[data$cluster==2, ], weighted=FALSE, prop=FALSE, serr=FALSE)

par(mfrow = c(1,2))
barplot(prop.table(table1),2)
barplot(prop.table(table2),2)



[cid:c3d091eb-95cb-456f-90c7-a25815cc13dd]


Do you have any suggestion? I would like to get a bar with ylim=c(0,100) for each pathways in the same plot.

Thanks!





Karina Videgain

Profesora-Investigadora
Programa Universitario de Estudios del Desarrollo (PUED)
Universidad Nacional Autónoma de México (UNAM)
Tel: (52 55) 5622 1888 Ext. 82615


________________________________
De: traminer-users-bounces at lists.r-forge.r-project.org <traminer-users-bounces at lists.r-forge.r-project.org> en nombre de Karina Videgain <karvidegain at hotmail.com>
Enviado: jueves, 18 de febrero de 2016 8:52
Para: traminer-users at lists.r-forge.r-project.org
Asunto: [Traminer-users] multichannel and aggregate cases


I am working with a big data frame and you recommended me to use weightCluster and aggregate cases. It worked very well for me but now I want to use Multichannel Sequence Analysis and I don't find the way to use aggregate cases for the three dimensions (channels) that I am using. ¿Is it possible to aggregate cases for the three sequence object?



Thanks



Karina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/traminer-users/attachments/20180813/ca671abc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 2770 bytes
Desc: pastedImage.png
URL: <http://lists.r-forge.r-project.org/pipermail/traminer-users/attachments/20180813/ca671abc/attachment.png>


More information about the Traminer-users mailing list