citHeader("To cite the 'MonoPoly' package in publications use:
2016 for the sum of squares parameterisation;
2013 for Elphinstone type parameterisations or Hawkins' algorithm")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

citEntry(entry="Manual",
         title = "MonoPoly: Functions to Fit Monotone Polynomials",
         author = personList(as.person("B. A. Turlach"),
                             as.person("K. Murray")),
         year = year,
         note = vers,

         textVersion =
         paste("Berwin Turlach and Kevin Murray (",
               year,
               ").  MonoPoly: Functions to Fit Monotone Polynomials. ",
               vers, ".", sep=""))


citEntry(entry="Article",
         author = personList(as.person("K. Murray"),
                             as.person("S. M{\\\"u}ller"),
                             as.person("B. A. Turlach")),
         title= "Fast and flexible methods for monotone polynomial fitting",
         journal = "Journal of Statistical Computation and Simulation",
         year    = "2016",
         volume  = "86",
         number  = "15",
         pages   = "2946--2966",
         url     = "http://doi.org/10.1080/00949655.2016.1139582",
  
        textVersion =
        paste("Murray, K., Müller, S. and Turlach, B.A. (2016).",
              "Fast and flexible methods for monotone polynomial fitting,",
              "Journal of Statistical Computation and Simulation 86(15): 2946-2966.",
              "Doi:10.1080/00949655.2016.1139582.")
)

citEntry(entry="Article",
         author = personList(as.person("K. Murray"),
                             as.person("S. M{\\\"u}ller"),
                             as.person("B. A. Turlach")),
         title= "Revisiting fitting monotone polynomials to data",
         journal = "Computational Statistics",
         year    = "2013",
         volume = "28",
         number = "5",
         pages = "1989--2005",
         url     = "http://doi.org/10.1007/s00180-012-0390-5",
  
        textVersion =
        paste("Murray, K., Müller, S. and Turlach, B.A. (2013).",
              "Revisiting fitting monotone polynomials to data,",
              "Computational Statistics 28(5): 1989-2005.",
              "Doi:10.1007/s00180-012-0390-5.")
)






