citHeader("To cite the plsRglm package in publications use:")

titl <- meta$Title
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)
note <- "book of abstracts, User2014!, Los Angeles, page 172"
doi <- paste0("10.32614/CRAN.package.", meta$Package)
urldoi <- paste0("https://doi.org/", doi)


bibentry(bibtype="Manual",
         title = titl,
         author = c(person(given = "Frederic", family= "Bertrand"), person(given = "Myriam", family= "Maumy")),
	 publisher = "manual",
         year         = year,
         note         = vers,
         url          = "https://fbertran.github.io/homepage/",
         doi = doi,
         textVersion = 
         paste("Frederic Bertrand and Myriam Maumy-Bertrand (",year ,"). ", 
               titl, ", ", vers, ". doi:", doi, ".", sep=""
               )
)

bibentry(bibtype="Manual",
         title = titl,
         author = c(person(given = "Frederic", family= "Bertrand"), person(given = "Myriam", family= "Maumy")),
	 publisher = "manual",
         year         = 2014,
         note         = note,
         url          = "https://fbertran.github.io/homepage/",
         textVersion = 
         paste("Frederic Bertrand and Myriam Maumy-Bertrand (",year ,"). ", 
               titl, ", ", note, ".", sep=""
               )
)

bibentry(bibtype="article",
         title = "Comparaison de la regression PLS et de la regression logistique
PLS : application aux donnees d'allelotypage",
         author = c(person(given = "Nicolas", family= "Meyer"), person(given = "Myriam", family= "Maumy"), person(given = "Frederic", family= "Bertrand")),
	 journal = "Journal de la Societe Francaise de Statistique",
	 publisher = "Societe Francaise de Statistique",
         year         = 2010,
         volume = 151,
         issue = 2,
         pages="1-18",
         url          = "https://ojs-test.apps.ocp.math.cnrs.fr/index.php/J-SFdS/article/view/47/",
         textVersion = 
         paste("Nicolas Meyer, Myriam Maumy-Bertrand et Frederic Bertrand (2010).", 
               "Comparaison de la regression PLS et de la regression logistique
PLS : application aux donnees d'allelotypage.", "Journal de la Societe Francaise de Statistique", "151(2)", "pages 1-18.")
)