citHeader("To cite lsm in publications please use:")

## R (>= 3.5.0) passes package metadata to citation().

if(!exists("meta") || is.null(meta)) meta <- packageDescription("lsm")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

bibentry(bibtype= "Manual",
         title = "{lsm}: Estimation of the log Likelihood of the Saturated Model",
         author = c(person(c("Jorge", "L."), "Villalba"),
                    person(c("Humberto", "J."), "Llinas"),
                    person(c("Omar", "J."), "Fabregas")),
         year = year,
         note = note,
         doi = "10.32614/CRAN.package.lsm",
         url = "https://CRAN.R-project.org/package=lsm",
         key= "lsm-package",

          textVersion =
           paste("Jorge L. Villalba, Humberto J. Llinas,  Omar J. Fabregas",
                 sprintf("(%s).", year),
                 "lsm:  Estimation of the log Likelihood of the Saturated Model",
                 paste(note, ".", sep = ""),
                 "DOI: 10.32614/CRAN.package.lsm.",
                 "URL https://CRAN.R-project.org/package=lsm")
)










