citHeader("To cite robustbase in publications use:")

## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("robustbase")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

citEntry(entry = "Manual",
  title        = "{robustbase}: Basic Robust Statistics",
  author       = personList(as.person("Peter Rousseeuw"), 
  		   as.person("Christophe Croux"),
  		   as.person("Valentin Todorov"),
  		   as.person("Andreas Ruckstuhl"),
  		   as.person("Matias Salibian-Barrera"),
  		   as.person("Tobias Verbeke"),
		   as.person("Manuel Koller"),
	 	   as.person("Martin Maechler")),
  year         = year,
  note         = note,
  url          = "http://CRAN.R-project.org/package=robustbase",

  textVersion  =
  paste("Peter Rousseeuw, Christophe Croux, Valentin Todorov, Andreas Ruckstuhl, Matias Salibian-Barrera, Tobias Verbeke, Manuel Koller, Martin Maechler",
        sprintf("(%s).", year),   
        "robustbase: Basic Robust Statistics.",
        paste(note, ".", sep = ""),
        "URL http://CRAN.R-project.org/package=robustbase")
)

citEntry(entry = "Article",
  title        = "An Object-Oriented Framework for Robust Multivariate Analysis",
  author       = personList(as.person("Valentin Todorov"),
                   as.person("Peter Filzmoser")),
  journal      = "Journal of Statistical Software",
  year         = "2009",
  volume       = "32",
  number       = "3",
  pages        = "1--47",
  url          = "http://www.jstatsoft.org/v32/i03/",

  textVersion  =
  paste("Valentin Todorov, Peter Filzmoser (2009).",
        "An Object-Oriented Framework for Robust Multivariate Analysis.",
        "Journal of Statistical Software, 32(3), 1-47.",
        "URL http://www.jstatsoft.org/v32/i03/."),
  header = "To cite the multivariate class/methods framework use:"
)

