medoids() to compute
given a clustering (and data).
now correctly describes the meaning of a
method = "gower"
help(daisy) now extensively documents the different
type = *, notably
pam(x, diss=TRUE) uses
inherits(x, "dissimilarity") instead
data.class(x) == "dissimilarity") to check.
deparse1() from R version 4.0.0 and newer (even
when cluster is installed into an older versions of R),
e.g., in plot default titles.
as.data.frame(<silhouette>) now works; suggested by
Jonathan Marshall (@Massey, NZ).
Updated German translations (Detlef Steuer)
use explicit cast, quieting
Updated the Italian translations (by Daniele Medri), the French (by Philippe Grosjean) and the German (by Detlef Steuer). New Lithuanian translations by Gabriele Stupuriene & Rimantas Zakauskas.
Added Italian translations from Daniele Medri, and updated the French ones from Philippe Grosjean.
clara() gains a
cluster.only argument, entirely
“in parallel” to
silhouette() method for
clara now allows
full to be a number in [0,1] instead of just a logical and it gains
gains new optional argument
subset to specify the indices of
observations for which silhouette values shold be computed.
pam() - ‘fasterPAM’ from Erich Schubert.
New optional arguments
medoids = "random",
variant = "faster".
volume(obj) is now correct also for ellipsoids of
d > 2.
--enable-lto compilation revealed missing
weights argument in ‘src/cluster.h’'s declaration of
Replaced many “old style”
‘src/mona.c’ now uses correct void
and source cleaned.
pam() gets new
pamonce options, for values 3,
4, or 5, choosing versions of
fastpam, contributed by Erich
Schubert, Univ. Dortmund.
update ‘tests/*’ to work with R >= 3.6.0 (sample.kind)
correct thinko in
?clusGap, the help page.
clara() gets new option
metric = "jaccard",
contributed by Kamil Kozlowski and Kamil Jadszko.
metric can be abbreviated (and invalid strings
give an error instead of being interpreted as
The bug fix of
clara(*, correct.d = TRUE) (from
version 2.0.4) for the NA-data case now also applies to the
internal C function
mona() now C- instead of Fortran-based (having used
f2c etc) and now has a
trace.lev option which allows
“remembers” if the original data had missing values.
mona(<1-column>) no longer loops infinitely but signals
clusGap() gets a new option
scaleH0 = "original" is an alternative to the default PCA
clusGap() now also stores its
call and uses
print()ing and (by default in the
__ MOSTLY NOT IMPLEMENTED yet __
diana() gets new optional argument
When a positive integer, the DIANA algorithm will stop early, as
much desirable for large
daisy() gets 3+1 new options
warn* which allow
to suppress three different kind of warnings, as these are
undesirable in some cases. With thanks to Kirill Müller for the
pam() now signals an error when there are more than
65536 observational units (whereas it could segfault previously),
thanks to a patch from Mikko Korpela, Helsinki.
clusGap() gets a new option
d.power = 1
allowing to choose the basic weight statistic as it was originally
proposed, namely squared distances by setting
d.power = 2.
fix small glitch in silhouette's help page.
Finally fixed a bug (in the original Fortran code from
Rousseeuw!) in clara's distance computation when there are
NAs in the data. As the fix is not backward compatible,
a warning is produced (for the time being) if there are
NAs and the user does not explicitly use
clara(*, correct.d = TRUE).
This new ‘NEWS.Rd’ file – going to replace ‘ChangeLog’ eventually.
import all we need (but not more) from the "base" pkgs (stats, graphics, ...).
anyNA() where appropriate.
New Korean translations, thanks to Chel Hee Lee.
valgrind detected missing allocation (
nisol["1"] for k=1).
typo R/daisy.q (R bug PR#16430).
silhouette( obj ) for
obj <- pam(x, k = 1).
pam() now using
.Call() instead of
.C() is potentially considerably more efficient.
agnes() has improved
trace behaviour; also,
par.method = * settings now give an early and
understandable error message.
lower.to.upper.tri.inds() (etc) now returns
.Fortran(..): no longer using
DUP=FALSE as that has become deprecated.
diana() finally get, respectively
work with a
plot.(agnes|diana)() now deals well with long
calls, by using multiple title lines.
Message translations now also for C level error messages.
agnes(*, method="flexible", par.method = c(a1, a2, b, c)),
length(alpha) == 4, finally works correctly.
Rewrote parts of the R level messages so they are more easily translatable, thanks to proposals by Lukasz Daniel.
French translations from Philippe Grosjean.
mona example not working in R < 3.0.x.
agnes(*, method = "gaverage") contributed by Pierre
better translatable messages and translation updates.
Polnish translations from Lukasz Daniel.
clusGap() to compute the “cluster Gap”
First translations (into German, thanks to Detlef Steuer).
plot.silhouette(..., col = <one per cluster>) had
60 more CRAN releases of the package cluster
from Dec 1999 to Feb 2011, see also the ‘ChangeLog’ file and
Martin Maechler had its own version independently.
Both closely modeled after
clus the tarball off JSS.
agnes() – ‘twins.f’ for the “twins”
daisy() – ‘daisy.f’ (and ‘meet.f’)
diana() – (twins.f)
fanny() – ‘fanny.f’
mona() – ‘mona.f’
pam() – ‘pam.f’
all Examples in ‘man/*.Rd’ hand edited to become executable.
print.summary.**() methods) for the six basic R functions above.