colors
argument to rainette_plot()
to allow to specify custom colors for clusters (#37, thanks @lvaudor)palette.colors()
with manual colors vector to ensure compatibility with R 3.6 (#11)Rework of the double classification computation :
full
argument to rainette2()
. If TRUE
(default, same behavior as previous versions), all crossings between groups of the two single classifications are taken into account to find the best partition. If FALSE
, only the crossings with maximal associations are kept.parallel
argument to rainette2()
to compute partitions with mclapply
(FALSE
by default, won't work on Windows, uses more RAM)rainette2()
computations, with added progress bars to better estimate long runsrainette_plot()
and rainette2_plot()
if they are called with type = "cloud"
.show_na_title
, cluster_label
and keyness_plot_xlab
arguments to rainette_plot()
to customize graphics outputrainette_explor
and rainette2_explor
when a cluster dfm is emptymin_uc_size
, uc_size1
and uc_size2
arguments to rainette
and rainette2
have been renamed to min_segment_size
, min_segment_size1
and min_segment_size2
.min_segment_size
in rainette
is now 0
, which means that no merging is done between segments by default. Results could then be different from previous package versions when min_uc_size
was not specified.min_segment_size
was not handled correctly in the previous versions regarding the segment sources, as segments from different documents could be merged together. This should now be fixed.rainette_explor
and rainette2_explor
.clusters_by_doc_table
which gives the number of segments of each cluster for each document.docs_by_cluster_table
which gives, for each cluster, the number of documents with at least one segment in this cluster.split_segments
should now be about 4 times faster.rainette
is called with min_segment_size
> 0, a doc_id
argument must be given which is the name of a dtm
docvar identifying the segments source. If the corpus has been produced by split_segments
, the added segment_source
docvar is used by default.rainette_explor
, rainette2_explor
, rainette_plot
and rainette2_plot
.min_split_members
< 3.rainette_explor
is called on a rainette2
results object, rainette2_explor
is launched automatically.rainette_explor
rainette2
rainette_stats