citHeader("To cite package 'heplots' in publications use:")

## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("heplots")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)
     
citEntry(entry = "Manual",
  title = "{heplots}: Visualizing Tests in Multivariate Linear Models",
  author = personList(as.person("John Fox"),
                  as.person("Michael Friendly"),
                  as.person("Georges Monette")),
  year = year,
  note = note,
  url = "https://CRAN.R-project.org/package=heplots",

  textVersion =
  paste("John Fox and Michael Friendly and and Georges Monette",
       sprintf("(%s).", year),
        "heplots: Visualizing Tests in Multivariate Linear Models.",
    paste(note, ".", sep = ""),
        "URL https://CRAN.R-project.org/package=heplots")
)

citEntry(header="To refer to the theory on which this package is based, also cite:",
   entry="Article",
  title = 	 "HE plots for Multivariate General Linear Models",
  author = 	 "Michael Friendly",
  year = 	 "2007",
  journal = 	 "Journal of Computational and Graphical Statistics",
  volume = "16",
  number = "4",
  pages = "421--444", 
  textVersion = "Friendly, M. (2007). 
  HE plots for Multivariate General Linear Models.
  Journal of Computational and Graphical Statistics, 2007, 16, 421-444"  
)

citEntry(header="For use with repeated measures designs also cite:",
  entry = "Article",
  title        = "HE Plots for Repeated Measures Designs",
  author       = personList(as.person("Michael Friendly")),
  journal      = "Journal of Statistical Software",
  year         = "2010",
  volume       = "37",
  number       = "4",
  pages        = "1--40",
  url          = "http://www.jstatsoft.org/v37/i04/",

  textVersion  =
  paste("Michael Friendly (2010).",
        "HE Plots for Repeated Measures Designs.",
        "Journal of Statistical Software, 37(4), 1-40.",
        "URL http://www.jstatsoft.org/v37/i04/.")
)

citFooter("BibTeX entries for LaTeX users: use\n", sQuote('toBibtex(citation("heplots"))'))
#toBibtex(citation("heplots"))
