Skip to content

Commit cffaf42

Browse files
committed
Add missing imports.
Add missing argument doc. Fix link.
1 parent 2774313 commit cffaf42

4 files changed

Lines changed: 16 additions & 6 deletions

File tree

DESCRIPTION

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ Description: Implements several sampling strategies for construction of core
2626
License: GPL (>= 2)
2727
Encoding: UTF-8
2828
BuildManual: TRUE
29-
Imports: DiversityStats,
29+
Imports: cluster,
30+
DiversityStats,
3031
igraph,
32+
MASS,
3133
mathjaxr,
34+
prospectr,
3235
Rdpack,
3336
stats,
3437
vegan
35-
Suggests: cluster,
36-
EvaluateCore,
38+
Suggests: EvaluateCore,
3739
knitr,
3840
pander,
3941
rmarkdown

NAMESPACE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ importFrom(MASS,isoMDS)
1313
importFrom(Rdpack,reprompt)
1414
importFrom(cluster,pam)
1515
importFrom(grDevices,n2mfrow)
16+
importFrom(graphics,par)
17+
importFrom(graphics,title)
1618
importFrom(igraph,E)
1719
importFrom(igraph,graph_from_adjacency_matrix)
1820
importFrom(igraph,mst)
@@ -22,6 +24,7 @@ importFrom(prospectr,kenStone)
2224
importFrom(prospectr,naes)
2325
importFrom(stats,as.dist)
2426
importFrom(stats,cmdscale)
27+
importFrom(stats,cutree)
2528
importFrom(stats,hclust)
2629
importFrom(stats,median)
2730
importFrom(stats,setNames)

R/select.distance.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
#' then randomly samples one accession from each cluster.
275275
#'
276276
#' The dendrogram is built by agglomerative hierarchical clustering using the
277-
#' linkage criterion specified by \code{\link[stats]{hclust.method}}. For
277+
#' linkage criterion specified by \code{\link[stats]{hclust}}. For
278278
#' clusters \mjseqn{C_1, \dots, C_n}, one accession is drawn uniformly at
279279
#' random from each:
280280
#'
@@ -304,6 +304,7 @@
304304
#'
305305
#' @template general-arg
306306
#' @template sel-arg
307+
#' @template dist-arg
307308
#' @template seldist-arg
308309
#' @param method The method for sampling accessions from each cluster/group.
309310
#' Either \code{"mean.medoid"}, \code{"median.medoid"},
@@ -318,10 +319,11 @@
318319
#' identifiers for a cluster/group.
319320
#'
320321
#' @importFrom cluster pam
322+
#' @importFrom graphics par title
321323
#' @importFrom grDevices n2mfrow
322324
#' @importFrom MASS isoMDS
323325
#' @importFrom prospectr duplex honigs kenStone naes
324-
#' @importFrom stats cmdscale hclust
326+
#' @importFrom stats cmdscale cutree hclust
325327
#' @importFrom vegan betadisper
326328
#'
327329
#' @export

man/select.distance.Rd

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)