| 1 |
## -*- R -*- |
| 2 |
|
| 3 |
PKG <- "cluster" |
| 4 |
citHeader(paste("To cite the R package ",PKG," in publications use:")) |
| 5 |
|
| 6 |
if(!exists("meta") || is.null(meta)) meta <- packageDescription(PKG) |
| 7 |
stopifnot(meta$Package == PKG) |
| 8 |
|
| 9 |
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date) |
| 10 |
vers <- paste("R package version", meta$Version) |
| 11 |
url <- paste0("https://CRAN.R-project.org/package=", PKG) |
| 12 |
|
| 13 |
bibentry(bibtype = "Manual", |
| 14 |
title = "cluster: Cluster Analysis Basics and Extensions", |
| 15 |
author = c( |
| 16 |
person("Martin", "Maechler", email="[email protected]", |
| 17 |
role = c("aut", "cre"), |
| 18 |
comment = "enhancements, speed improvements, bug fixes, since 2000"), |
| 19 |
person("Peter", "Rousseeuw", email="[email protected]", role="aut"), |
| 20 |
person("Anja", "Struyf", email="[email protected]", role="aut"), |
| 21 |
person("Mia", "Hubert", email="[email protected]", role="aut"), |
| 22 |
person("Kurt", "Hornik", role=c("trl","ctb"), comment = "R port; and much initial help file fixing, 1998--2000") |
| 23 |
), |
| 24 |
year = year, |
| 25 |
url = url, |
| 26 |
note = paste(vers,"---", |
| 27 |
"For new features, see the 'NEWS' and the 'Changelog' file in the package source)"), |
| 28 |
## FIXME: rather give the URL to the manual on CRAN ??? |
| 29 |
## url = "http://stat.ethz.ch/CRAN/src/contrib/........", |
| 30 |
textVersion = paste0( |
| 31 |
"Maechler, M., Rousseeuw, P., Struyf, A., Hubert, M., Hornik, K.(", |
| 32 |
year, "). cluster: Cluster Analysis Basics and Extensions. ", vers, ".") |
| 33 |
) |