- seqdata
State sequence object (class stslist
) created with the TraMineR::seqdef
function.
- diss
pairwise dissimilarities between sequences in seqdata
(see TraMineR::seqdist
)
- group
A vector of the same length as the sequence data indicating group membership. When not NULL, a distinct plot is generated for each level of group.
- criterion
the representativeness criterion for sorting the candidate list. One of "freq"
(sequence
frequency), "density"
(neighborhood density), "mscore"
(mean state frequency), "dist"
(centrality) and "prob"
(sequence likelihood). See details.
- coverage
coverage threshold, i.e., minimum proportion of sequences that should have a representative in their
neighborhood (neighborhood radius is defined by pradius
).
- nrep
number of representative sequences. If NULL
(default), the size of the representative set is
controlled by coverage
.
- pradius
neighborhood
radius as a percentage of the maximum (theoretical)
distance dmax
. Defaults to 0.1 (10%). Sequence \(y\) is
redundant to sequence \(x\) when it is in the neighborhood of \(x\), i.e., within a distance
pradius*dmax
from \(x\).
- dmax
maximum theoretical distance. The dmax
value is used to derive the neighborhood radius as pradius*dmax
. If NULL
, the value of dmax
is derived from the dissimilarity matrix.
- border
if TRUE
bars are plotted with black outline; default is FALSE
(also accepts NULL
)
- proportional
if TRUE
(default), the sequence heights are
displayed proportional to the number of represented sequences
- weighted
Controls if weights (specified in TraMineR::seqdef
) should be used. Default is TRUE
, i.e. if available weights are used
- stats
if TRUE
(default), mean discrepancy in each subset
defined by all sequences attributed to one representative sequence and the
mean distance to this representative sequence are displayed.
- colored.stats
specifies if representatives in stats plot should be
color coded; only recommended if number of representatives is small;
if set to NULL
(default) colors are used if n rep. <= 10;
use TRUE
or FALSE
to change manually
- facet_ncol
specifies the number of columns in the plot (relevant if !is.null(group))