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)

bibentry(bibtype = "Manual",
         title = "{gMCP}: Graph Based Multiple Test Procedures",
         author = c(person("Rohmeyer", "Kornelius"), 
                    person("Klinglmueller", "Florian")),                              
         year = year,
         note = note,
         url = "https://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")
)

bibentry(bibtype = "Article",
         title = "Graphical approaches for multiple comparison procedures using weighted Bonferroni, Simes or parametric tests",
         author = c(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 = "https://doi.org/10.1002/bimj.201000239",
         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."
)
