citHeader("The following references are for usage of the ecp package. You should cite the reference for each individual method used, as listed in the reference section of the help page for each function.")

bibentry(bibtype = "Article",
  key          = "ecp-article", 
  title        = "{ecp}: An {R} Package for Nonparametric Multiple Change Point Analysis of Multivariate Data",
  author       = c(person("Nicholas A. James"), person("David S. Matteson")),
  journal      = "Journal of Statistical Software",
  year         = "2014",
  volume       = "62",
  number       = "7",
  pages        = "1--25",
  url          = "https://www.jstatsoft.org/v62/i07/",

  textVersion  =
  paste("Nicholas A. James, David S. Matteson (2014).",
        "ecp: An R Package for Nonparametric Multiple Change Point Analysis of Multivariate Data.",
        "Journal of Statistical Software, 62(7), 1-25.",
        "URL https://www.jstatsoft.org/v62/i07/.")
)

bibentry(bibtype = "Misc",
  key          = "ecp-package", 
  title        = "{ecp}: An {R} Package for Nonparametric Multiple Change Point Analysis of Multivariate Data_. R package version 3.1.4",
  author       = c(person("Nicholas A. James"), person("Wenyu Zhang"), person("David S. Matteson")),
  year         = "2019",
  url          = "https://cran.r-project.org/package=ecp",

  textVersion  =
  paste("Nicholas A. James, Wenyu Zhang, David S. Matteson (2019).",
        "_ecp: An R Package for Nonparametric Multiple Change Point Analysis of Multivariate Data_.",
        "R package version 3.1.4.",
        "URL https://cran.r-project.org/package=ecp")
)

