Debian Codegraph @

NAMESPACE

raw
1 useDynLib(cluster, .registration=TRUE)
2
3 ## S3 Generics:
4 export(clusplot, pltree, silhouette, volume)
5 ## Normal functions (non-generics, non-methods):
6 ## The original constructors:
7 export(agnes, clara, daisy, diana, fanny, mona, pam)
8 ## and the rest
9 export(bannerplot, ellipsoidhull, ellipsoidPoints,
10 clusGap, maxSE,
11 medoids,
12 lower.to.upper.tri.inds, upper.to.lower.tri.inds,
13 meanabsdev, sizeDiss, sortSilhouette)
14
15 ## Methods also useful as 'standalone functions':
16 export(predict.ellipsoid)
17 export(coef.hclust, coefHier)
18
19 importFrom("stats", as.hclust, as.dist, as.dendrogram, cmdscale,
20 coef, cov.wt, dist,
21 mahalanobis, median, na.omit,
22 princomp, runif, setNames, var, weighted.mean)
23 ## For now, we keep *depending* on 'stats' just so that
24 ## S3 methods *.hclust, *.dist etc will work
25
26 importFrom("graphics",
27 arrows, axis, barplot, boxplot,
28 identify, lines, matplot, mtext,
29 par, plot, points, polygon, rect, segments, text, title)
30
31 importFrom("grDevices", dev.interactive)
32
33 importFrom("utils", menu, str)
34
35 ###---- Methods ---- all documented but not exported
36
37 ## of own generics
38 S3method(clusplot, default)
39 S3method(clusplot, partition)
40 S3method(pltree, twins)
41 S3method(silhouette, default)
42 S3method(silhouette, clara)
43 S3method(silhouette, partition)
44 S3method(volume, ellipsoid)
45
46 ## register all the method for generics elsewhere in case namespace is
47 ## loaded but not currently attached.
48 # via matrix method (R "bug": needs a copy *in* cluster, -> R/silhouette.R):
49 S3method(as.data.frame, silhouette, as.data.frame.matrix)
50 ##
51 S3method(as.dendrogram, twins)
52 S3method(coef, hclust)
53 S3method(coef, twins)
54
55 S3method(plot, agnes)
56 S3method(plot, diana)
57 S3method(plot, mona)
58 S3method(plot, partition)
59 S3method(plot, silhouette)
60 S3method(plot, clusGap)
61
62 #exported:
63 S3method(predict, ellipsoid)
64
65 S3method(print, agnes)
66 S3method(print, clara)
67 S3method(print, diana)
68 S3method(print, dissimilarity)
69 S3method(print, ellipsoid)
70 S3method(print, fanny)
71 S3method(print, mona)
72 S3method(print, pam)
73 S3method(print, clusGap)
74 S3method(print, summary.agnes)
75 S3method(print, summary.clara)
76 S3method(print, summary.diana)
77 S3method(print, summary.dissimilarity)
78 S3method(print, summary.fanny)
79 S3method(print, summary.mona)
80 S3method(print, summary.pam)
81 S3method(print, summary.silhouette)
82
83 S3method(summary, agnes)
84 S3method(summary, clara)
85 S3method(summary, diana)
86 S3method(summary, dissimilarity)
87 S3method(summary, fanny)
88 S3method(summary, mona)
89 S3method(summary, pam)
90 S3method(summary, silhouette)