citHeader("To cite package gMCP in publications use")

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

citEntry(entry = "manual",
         title = "{gMCP}: Graph Based Multiple Test Procedures",
         author = personList(as.person("Kornelius Rohmeyer"), 
                             as.person("Florian Klinglmueller")),                              
         year = year,
         note = note,
         url = "http://CRAN.R-project.org/package=gMCP",

         textVersion =
         paste("Kornelius Rohmeyer, Florian Klinglmueller",
   	       sprintf("(%s).", year),	 
               "gMCP: Graph Based Multiple Test Procedures.",
	       paste(note, ".", sep = ""),
               "URL http://CRAN.R-project.org/package=gMCP")
)

citEntry(entry="article",
         title = "Graphical approaches for multiple comparison procedures using weighted Bonferroni, Simes or parametric tests",
         author = personList(as.person("Frank Bretz"),
                             as.person("Martin Posch"),
                             as.person("Ekkehard Glimm"),
                             as.person("Florian Klinglmueller"),
                             as.person("Willi Maurer"),                             
                             as.person("Kornelius Rohmeyer")), 
         journal = "Biometrical Journal",                             
         year = "2011",
         publisher = "Wiley",
         volume = "53", 
         number = "6",
         pages = "894--913",
         url = "http://onlinelibrary.wiley.com/doi/10.1002/bimj.201000239/full",
         textVersion = "Frank Bretz, Martin Posch, Ekkehard Glimm, Florian Klinglmueller, Willi Maurer, Kornelius Rohmeyer (2011), Graphical approaches for multiple comparison procedures using weighted Bonferroni, Simes or parametric tests. Biometrical Journal 53 (6), pages 894--913, Wiley."
)
