r - seqedplot using TraMineR: how to plot selected hazard curve in one single graph? -
I am using TraMineRextras and especially interested in the Here's an example: Instead of plotting all curves by: I use the selected curves according to the variable From two different graphs? Thank you in advance In order to bind a gender in a way, the event type may be: Because split into an article If there does not seem to be an option to use the seqedplot function.
Data (Actakel.Tc) actacl.tse & lt; - actcal.tse [1: 500,] Isaac & lt; - Unique (Acticle Tte $ ID) NSEX and LT; - Length (ISEC) data (Actual) Actual & LT; - Actakel [Ravels (Actual)% in% ICQ, Actkel. SECE & lt; - Sequet (Actual. Seqe) & lt; - rep (12, nseq)
seqedplot (actcal.seqe, type = "hazard", Ignore = 6, Group = Ectical $ Sex, LW = 3)
gender and ignore
/ Code> Options:
seqedplot (actcal.seqe, type = "existence", group = actual $ sex, LWD = 3, unblock = c ("NoActivity", "I'm a man Instead of men and women in the same graph How can I make a shell? "
actcal.tse $ event <- sprintf ("% S-% s", actcal.tse $ event, Active $ sex [match (actcal.tse $ id, rownames (actual))]
groups parameter, then try some attempts with these lines. Switch to, and completely abandoned the group option
Comments
Post a Comment