citHeader("To cite package mlbench in publications use:")

## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("mlbench")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)

citEntry(entry="Manual",
         title = "mlbench: Machine Learning Benchmark Problems",
         author = "Friedrich Leisch and Evgenia Dimitriadou",
         year = year,
         note = vers,
         
         textVersion =
         paste("Friedrich Leisch & Evgenia Dimitriadou (", year,
               "). mlbench: Machine Learning Benchmark Problems. ",
               vers, ".", sep=""))

citEntry(entry="Misc",
         header="To cite data sets from the UCI repository (as indicated in the help pages) use:",
         author = "D.J. Newman, S. Hettich, C.L. Blake and C.J. Merz",
         year = 1998,
         title = "UCI Repository of machine learning databases",
         url = "http://www.ics.uci.edu/~mlearn/MLRepository.html",
         institution = "University of California, Irvine, Dept. of Information and Computer Sciences",
         textVersion =
         paste("Newman, D.J. & Hettich, S. & Blake, C.L. & Merz, C.J. (1998).",
               "UCI Repository of machine learning databases",
               "[http://www.ics.uci.edu/~mlearn/MLRepository.html].",
               "Irvine, CA: University of California,",
               "Department of Information and Computer Science."))
